From 97cde3652eeae7e5040313045872e17fca76f031 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sat, 26 Dec 2020 20:56:10 -0500 Subject: [PATCH] fixed a missing return --- the_prestige.py | 1 + 1 file changed, 1 insertion(+) diff --git a/the_prestige.py b/the_prestige.py index 61bbe89..e0268f9 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -140,6 +140,7 @@ async def on_message(msg): elif innings > 30 and msg.author.id not in config()["owners"]: await msg.channel.send("Y'all can't behave, so we've limited games to 30 innings. Ask xvi to start it with more if you really want to.") + return if team1 is not None and team2 is not None: game = games.game(msg.author.name, team1, team2, length=innings)