Skip to content

Commit 68bd1c9

Browse files
Update main.py
1 parent 8b7c1dd commit 68bd1c9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

SCPSL-Discord-Bot/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#Set this to True if you wish to use the secondary bot
1818
enableSecondaryBot = False
1919

20-
2120
bot = commands.Bot(command_prefix="!", intents=discord.Intents.none())
2221
@bot.event
2322
async def on_ready():
@@ -49,10 +48,10 @@ async def on_ready():
4948
await bot.change_presence(status=stat,activity=discord.Game(name=playercount))
5049
print(playercount)
5150

52-
waitTime = data["Cooldown"] + 1
5351
else:
54-
print("Error 503: Rate limit exceeded")
52+
print("ERROR: " + data["Error"])
5553
await asyncio.sleep(waitTime)
5654

5755

5856
bot.run("Token")
57+

0 commit comments

Comments
 (0)