Constructor
new DCC(client, options)
Parameters:
Name |
Type |
Description |
client |
Client
|
The IRC Client |
options |
Object
|
Options for the DCC client
Properties
Name |
Type |
Description |
ports |
Array.<Number>
|
The ports to use |
localAddress |
String
|
The clients local IP |
|
- Source:
Methods
sendCTCPQuery(to, message)
Sends a CTCP query to a user
Parameters:
Name |
Type |
Description |
to |
String
|
The user to send to |
message |
String
|
The message to send |
- Author:
-
- Source:
sendFile(to, filename, filepath) → {Promise}
Sends a file to a user
Parameters:
Name |
Type |
Description |
to |
String
|
The nick of the user to send the file to |
filename |
String
|
The filename to send |
filepath |
String
|
The path of the file |
- Source:
Returns:
-
Type
-
Promise