mirror of
https://github.com/Specoolazius/mcserver-discordbot.git
synced 2024-11-24 22:49:45 +01:00
log on resetting in debug mode
This commit is contained in:
parent
206bafd302
commit
e03066341a
@ -58,6 +58,8 @@ class Presence(object):
|
|||||||
if self.bot.is_server_starting and self.bot.last_start + self.bot.config.server_start_timout < time.time():
|
if self.bot.is_server_starting and self.bot.last_start + self.bot.config.server_start_timout < time.time():
|
||||||
self.bot.is_server_starting = False
|
self.bot.is_server_starting = False
|
||||||
|
|
||||||
|
self.bot.logger.debug('Resetting is_starting to False')
|
||||||
|
|
||||||
# ToDo: better presence
|
# ToDo: better presence
|
||||||
await self.bot.change_presence(
|
await self.bot.change_presence(
|
||||||
activity=discord.Activity(
|
activity=discord.Activity(
|
||||||
|
Loading…
Reference in New Issue
Block a user