say
From SmartBots Developers Docs
Jump to: navigation, search
Says message over a specific chat channel.
Bot.say(channel, message);
Reference
This command accepts the following parameters:
| Variable | Required | Description
| |
|---|---|---|---|
| Input: | |||
| channel | yes | The channel to say message over (0 - public chat) | |
| message | yes | The message to send | |
| Output: | |||
| Function returns a Promise with the following data: | |||
| success | bool | true if command completed successfully | |
| error | string | error string if command has failed | |
Examples
Bot.say(0, "Hello World!");
- say