From f74bf1b3bb1d7dfceaeb8409f8e91f656ae78a73 Mon Sep 17 00:00:00 2001 From: Vivek Joshy Date: Sat, 22 Jun 2019 12:08:10 +0530 Subject: [PATCH] Set presence every 10 mins 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 --- cogs/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utility.py b/cogs/utility.py index 8782872388..4d70096cb3 100644 --- a/cogs/utility.py +++ b/cogs/utility.py @@ -683,7 +683,7 @@ async def loop_presence(self): await self.bot.wait_until_ready() while not self.bot.is_closed(): self.presence = await self.set_presence() - await asyncio.sleep(3600) + await asyncio.sleep(600) @commands.command() @checks.has_permissions(PermissionLevel.ADMINISTRATOR)