Don't await task cancels
This commit is contained in:
parent
8a4893c5f5
commit
19104241d7
@ -279,7 +279,7 @@ class Werewolf(Cog):
|
||||
|
||||
game = await self._get_game(ctx)
|
||||
game.game_over = True
|
||||
await game.current_action.cancel()
|
||||
game.current_action.cancel()
|
||||
await ctx.maybe_send_embed("Game has been stopped")
|
||||
|
||||
@commands.guild_only()
|
||||
|
Loading…
x
Reference in New Issue
Block a user