say

From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 14:51, 1 July 2016 by Phil (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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!");