feat: make the bot have a presence, cuz funny

This commit is contained in:
Teesh 2025-03-13 21:10:43 +02:00
parent a77d917f4c
commit d679695f60

View file

@ -22,6 +22,11 @@ class Essential(commands.Cog):
logger.debug("Syncing commands...") logger.debug("Syncing commands...")
await self.bot.tree.sync() await self.bot.tree.sync()
logger.debug("Commands synced!") logger.debug("Commands synced!")
await self.bot.change_presence(
activity=discord.Activity(
name="all your slash commands", type=discord.ActivityType.listening
)
)
logger.info(f"Logged in as {self.bot.user.name} ({self.bot.user.id})") logger.info(f"Logged in as {self.bot.user.name} ({self.bot.user.id})")