mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-25 01:39:42 +01:00
removed presence after loop function
This commit is contained in:
parent
429246f7eb
commit
4de332cf47
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user