From 62a96521c5a7215839b2007fd20182356da2032f Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sun, 27 Dec 2020 22:22:40 -0500 Subject: [PATCH] Update the_prestige.py set max concurrent games to 10 due to a misunderstanding of the rate limits doc, removed setupgame --- the_prestige.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index fb5ee44..913e664 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -142,8 +142,8 @@ class StartGameCommand(Command): channel = msg.channel user_mention = msg.author.mention await msg.delete() - if len(gamesarray) >= 45: - await channel.send(f"We're running 45 games right now, and Discord probably isn't very pleased about it. You're at #{len(gamesqueue)+1} in the list.\nWe'll ping you when it's ready, chief.") + if len(gamesarray) >= 10: + await channel.send(f"We're running 10 games right now, and Discord probably isn't very pleased about it. You're at #{len(gamesqueue)+1} in the list.\nWe'll ping you when it's ready, chief.") gamesqueue.append((channel, game, user_mention)) return @@ -303,7 +303,7 @@ commands = [ IdolizeCommand(), ShowIdolCommand(), ShowPlayerCommand(), - SetupGameCommand(), + #SetupGameCommand(), SaveTeamCommand(), ShowTeamCommand(), ShowAllTeamsCommand(),