From 743c18e4f5c4dd6fb5f35f2de973d9194564b558 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sun, 27 Dec 2020 14:38:34 -0500 Subject: [PATCH] fixed another start game bug --- the_prestige.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 475f430..1f995aa 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -124,7 +124,6 @@ class StartGameCommand(Command): innings = None except IndexError: await msg.channel.send("We need at least three lines: startgame, away team, and home team are required. Optionally, the number of innings can go at the end, if you want a change of pace.") - return except: await msg.channel.send("Something about that command tripped us up. Either we couldn't find a team, or you gave us a bad number of innings.") return @@ -483,7 +482,7 @@ Creator, type `{newgame.name} done` to finalize lineups.""") game_task = asyncio.create_task(watch_game(channel, newgame)) await game_task -async def watch_game(channel, game, user = None): +async def watch_game(channel, newgame, user = None): blank_emoji = discord.utils.get(client.emojis, id = 790899850295509053) empty_base = discord.utils.get(client.emojis, id = 790899850395779074) occupied_base = discord.utils.get(client.emojis, id = 790899850320543745)