Updated presense to account for slash commands.

This commit is contained in:
alwayscompiling
2022-08-08 21:54:27 -04:00
parent a61662429a
commit ffefd08761
+7 -4
View File
@@ -35,14 +35,17 @@ class BotPresence(commands.Cog, name="Bot Presence"):
async def change_presence(self): async def change_presence(self):
"""Randomly chooses a presence and updates bot's presence.""" """Randomly chooses a presence and updates bot's presence."""
statuses = [ statuses = [
f"?help | {len(self.bot.guilds)} servers", "Now with slash commands!",
f"Vuln Pls. | {len(self.bot.guilds)} servers", "Vuln Pls.",
f"All your base are belong to us. | {len(self.bot.guilds)} servers", "All your base are belong to us.",
f"Double plus good. | {len(self.bot.guilds)} servers", "Double plus good.",
"That's a lot of damage!",
] ]
status = random.choice(statuses) status = random.choice(statuses)
status += f" | {len(self.bot.guilds)} servers"
await self.bot.change_presence(activity=nextcord.Game(status)) await self.bot.change_presence(activity=nextcord.Game(status))