From 93551c846062fd74f6f6b203d66373ab16af9d1b Mon Sep 17 00:00:00 2001 From: jowj Date: Tue, 23 Jan 2018 22:21:09 -0600 Subject: [PATCH] removing old code from bot.py in prep for integration between bot.py and bot2.py --- mojojojo-bot.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mojojojo-bot.py b/mojojojo-bot.py index 6aaab4e..e986924 100644 --- a/mojojojo-bot.py +++ b/mojojojo-bot.py @@ -71,20 +71,6 @@ if __name__ == "__main__": if command: handle_command(command, channel) time.sleep(RTM_READ_DELAY) - # below section listens for shit about "AI" and adds a reaction (lul) - # events = slack_client.rtm_read() - # for event in events: - # if ( - # 'bots-like-gaston' in event and - # 'test' in event and - # event.get(type) == 'message' - # ) : - # if "test" in text.lower and link not in text: - # slack_client.api_call( - # "reactions.add", - # name = thumbsup - # ) - logging.info("Client worked. No errors (we think lol)") else: print("Connection failed. Exception traceback printed above.")