We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a4c44e + 76cdaab commit 2d8dc4aCopy full SHA for 2d8dc4a
1 file changed
cogs/commandowner.py
@@ -71,6 +71,8 @@ async def startlog(self, ctx):
71
guildID = int(self.jh.getFromConfig("guild"))
72
guildName = str(self.bot.get_guild(guildID))
73
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"))
76
else:
77
await ctx.send("Bot is logging. Logging state: True")
78
# Sets the bot's presence to "Online" to indicate it's logging.
0 commit comments