removing old code from bot.py in prep for integration between bot.py and bot2.py

master
jowj 6 years ago
parent ba2dd81ed6
commit 93551c8460

@ -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.")

Loading…
Cancel
Save