Skip to content

Commit 6138285

Browse files
vivekjoshykyb3r
authored andcommitted
Set presence every 10 mins (#301)
According to d.py support, the disappearance of presence is common among all discord bots and is likely a bug on discord's side. This will reduce resetting of the presence to 10 mins. Sources: https://imgur.com/a/zJYuVXG https://discordapp.com/channels/336642139381301249/381965515721146390/591864012376113163
1 parent 25d8528 commit 6138285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ async def loop_presence(self):
683683
await self.bot.wait_until_ready()
684684
while not self.bot.is_closed():
685685
self.presence = await self.set_presence()
686-
await asyncio.sleep(3600)
686+
await asyncio.sleep(600)
687687

688688
@commands.command()
689689
@checks.has_permissions(PermissionLevel.ADMINISTRATOR)

0 commit comments

Comments
 (0)