Update the_prestige.py
set max concurrent games to 10 due to a misunderstanding of the rate limits doc, removed setupgame
This commit is contained in:
parent
632444dd1a
commit
62a96521c5
|
@ -142,8 +142,8 @@ class StartGameCommand(Command):
|
||||||
channel = msg.channel
|
channel = msg.channel
|
||||||
user_mention = msg.author.mention
|
user_mention = msg.author.mention
|
||||||
await msg.delete()
|
await msg.delete()
|
||||||
if len(gamesarray) >= 45:
|
if len(gamesarray) >= 10:
|
||||||
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.")
|
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))
|
gamesqueue.append((channel, game, user_mention))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -303,7 +303,7 @@ commands = [
|
||||||
IdolizeCommand(),
|
IdolizeCommand(),
|
||||||
ShowIdolCommand(),
|
ShowIdolCommand(),
|
||||||
ShowPlayerCommand(),
|
ShowPlayerCommand(),
|
||||||
SetupGameCommand(),
|
#SetupGameCommand(),
|
||||||
SaveTeamCommand(),
|
SaveTeamCommand(),
|
||||||
ShowTeamCommand(),
|
ShowTeamCommand(),
|
||||||
ShowAllTeamsCommand(),
|
ShowAllTeamsCommand(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user