codebots.bots.slackbot.SlackBot.send_message#
Method
- SlackBot.send_message(verbose=False, **kwargs)[source]#
Send a message to a channel.
- Parameters:
- messagestr, optional
message to send over slack. If not provided a default message is sent.
- channelstr, optional.
slack channel where the message is sent to. If not provided, the message is sent to general.
- verbosebool, optional
print WebClient respons, by default False
Notes
Make sure that the bot has been previously added the bot to the channel.