removed presence after loop function

This commit is contained in:
Specoolazius 2022-03-31 15:30:44 +02:00
parent 429246f7eb
commit 4de332cf47

View File

@ -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):