Send message to Slack. When you call the function you can call it like so:
import wmill
from f.slack_bot.send_message_to_slack import send_message_to_slack
slack = wmill.get_resource("f/slack_bot/bot_token")
send_message_to_slack(channel_id=slack_channel, text=slack_message, slack=slack)1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |