From 4de332cf470db525f63be30ef39b6e89d95e02c1 Mon Sep 17 00:00:00 2001 From: Specoolazius Date: Thu, 31 Mar 2022 15:30:44 +0200 Subject: [PATCH] removed presence after loop function --- bot/botclient.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bot/botclient.py b/bot/botclient.py index c472486..bd95a37 100644 --- a/bot/botclient.py +++ b/bot/botclient.py @@ -242,15 +242,7 @@ class Presence(object): """ await self.bot.wait_until_ready() - self.bot.logger.info('presence loaded (server online)') - - @__server_online_presence.after_loop - async def __after_status(self) -> None: - print('stopped') - await self.bot.change_presence( - activity=self.bot.activity, - status=self.bot.status - ) + self.bot.logger.info('presence loaded') class Developer(discord.Cog):