Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Added fix for map end
Browse files Browse the repository at this point in the history
Should speed up the deletion of channels
  • Loading branch information
yannickgloster committed Nov 1, 2020
1 parent b1148be commit dc5012b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cogs/csgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ async def ready_up(self, message: discord.Message, members: List[discord.Member]
for member in members:
if member not in user_reactions:
ready = False
break
else:
self.bot.users_not_ready.remove(member)

Expand Down
2 changes: 1 addition & 1 deletion utils/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def _handler(self, request: web.Request) -> web.Response:
score_embed.set_footer(text="🟢 Live")
await server.score_message.edit(embed=score_embed)

elif get5_event['event'] == 'series_end' or get5_event['event'] == 'series_cancel':
elif get5_event['event'] == 'series_end' or get5_event['event'] == 'series_cancel' or get5_event['event'] == 'map_end':
if get5_event['event'] == 'series_end':
await server.score_message.edit(content='Game Over')
elif get5_event['event'] == 'series_cancel':
Expand Down

0 comments on commit dc5012b

Please sign in to comment.