Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sterling-tenn committed Feb 1, 2021
1 parent 79aa2c7 commit b7d8fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ async def on_message(message):
if message.channel.id == channel_id:
#if poketwo sends a message
if message.author.id == poketwo_id:
loop.stop()
loop.cancel()

#if embedded image
if message.embeds:
Expand Down Expand Up @@ -1083,7 +1083,7 @@ async def loop():
async def on_reaction_add(reaction, user):
#if p!h is on cooldown
if reaction.emoji == '⌛':
loop.stop()
loop.cancel()
sleep(10)
post(text_channel, data = {'content':'p!h'}, headers = header)

Expand Down

0 comments on commit b7d8fe6

Please sign in to comment.