added error message if team not found
This commit is contained in:
parent
3ee7c71362
commit
986135fd89
|
@ -175,6 +175,9 @@ 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:
|
||||||
|
await await msg.channel.send("We can't find one or both of those teams. Check your staging, chief.")
|
||||||
|
return
|
||||||
|
|
||||||
class SetupGameCommand(Command):
|
class SetupGameCommand(Command):
|
||||||
name = "setupgame"
|
name = "setupgame"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user