removing old code from bot.py in prep for integration between bot.py and bot2.py
This commit is contained in:
parent
ba2dd81ed6
commit
93551c8460
@ -71,20 +71,6 @@ if __name__ == "__main__":
|
|||||||
if command:
|
if command:
|
||||||
handle_command(command, channel)
|
handle_command(command, channel)
|
||||||
time.sleep(RTM_READ_DELAY)
|
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)")
|
logging.info("Client worked. No errors (we think lol)")
|
||||||
else:
|
else:
|
||||||
print("Connection failed. Exception traceback printed above.")
|
print("Connection failed. Exception traceback printed above.")
|
||||||
|
Loading…
Reference in New Issue
Block a user