corrected a double await
This commit is contained in:
parent
986135fd89
commit
240f545468
|
@ -176,7 +176,7 @@ class StartGameCommand(Command):
|
||||||
game_task = asyncio.create_task(watch_game(channel, game, user=msg.author, league=league))
|
game_task = asyncio.create_task(watch_game(channel, game, user=msg.author, league=league))
|
||||||
await game_task
|
await game_task
|
||||||
else:
|
else:
|
||||||
await await msg.channel.send("We can't find one or both of those teams. Check your staging, chief.")
|
await msg.channel.send("We can't find one or both of those teams. Check your staging, chief.")
|
||||||
return
|
return
|
||||||
|
|
||||||
class SetupGameCommand(Command):
|
class SetupGameCommand(Command):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user