Skip to content

Commit 2d8dc4a

Browse files
authored
Merge pull request #109 from PantomInach/107-enhancement-logging-indication-per-online-status
2 parents 0a4c44e + 76cdaab commit 2d8dc4a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cogs/commandowner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ async def startlog(self, ctx):
7171
guildID = int(self.jh.getFromConfig("guild"))
7272
guildName = str(self.bot.get_guild(guildID))
7373
await self.utils.log(f"Start to log users from Server:\n\t{guildName}", 2)
74+
# Sets the bot's presence to "Online" to indicate it's logging.
75+
await self.bot.change_presence(status=discord.Status.online, activity=discord.Game(str(self.jh.getFromConfig("command_prefix")) + "help"))
7476
else:
7577
await ctx.send("Bot is logging. Logging state: True")
7678
# Sets the bot's presence to "Online" to indicate it's logging.

0 commit comments

Comments
 (0)