Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Oct 18, 2023
1 parent 94e4fcf commit e6733bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ async def on_ready():
api.set_auth("top.gg", top_token)
api.start_loop()

try:
while True:
while True:
try:
await bot.change_presence(
activity=discord.Game(f"Is in {bot.guilds} servers")
)
await asyncio.sleep(900)
except Exception as e:
print(e)
except Exception as e:
print(e)


# dont give a error if a command doesn't exist
Expand Down

0 comments on commit e6733bf

Please sign in to comment.