
flake8 wasn't checking this file. ran flake8 against it to make sure it was compliant with coding guidelines
10 lines
167 B
Python
10 lines
167 B
Python
from rtmbot import RtmBot
|
|
|
|
slack_client = None
|
|
|
|
|
|
def init(config):
|
|
global slack_client
|
|
bot = RtmBot(config)
|
|
slack_client = bot.slack_client
|
|
return bot
|