From 986135fd89cb3b74fa03ed633c91d8368618ac7a Mon Sep 17 00:00:00 2001 From: Sakimori Date: Thu, 31 Dec 2020 14:13:36 -0500 Subject: [PATCH] added error message if team not found --- the_prestige.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/the_prestige.py b/the_prestige.py index f8a6196..8babd34 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -175,6 +175,9 @@ class StartGameCommand(Command): game_task = asyncio.create_task(watch_game(channel, game, user=msg.author, league=league)) 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): name = "setupgame"