mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-25 03:29:44 +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()
|
await self.bot.wait_until_ready()
|
||||||
self.bot.logger.info('presence loaded (server online)')
|
self.bot.logger.info('presence loaded')
|
||||||
|
|
||||||
@__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
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class Developer(discord.Cog):
|
class Developer(discord.Cog):
|
||||||
|
Loading…
Reference in New Issue
Block a user