say
Says a message over a specific chat channel.
Bot.say(channel, message);Input
Variable | Required | Description |
|---|---|---|
| yes | The channel to send the message over ( |
| yes | The message to send. |
Output
Function returns a Promise with the following data:
Variable | Type | Description |
|---|---|---|
| bool | True if command completed successfully |
| string | Error string if command has failed |
Example
Bot.say(0, "Hello World!");