Updated presense to account for slash commands.
This commit is contained in:
@@ -35,14 +35,17 @@ class BotPresence(commands.Cog, name="Bot Presence"):
|
||||
async def change_presence(self):
|
||||
"""Randomly chooses a presence and updates bot's presence."""
|
||||
statuses = [
|
||||
f"?help | {len(self.bot.guilds)} servers",
|
||||
f"Vuln Pls. | {len(self.bot.guilds)} servers",
|
||||
f"All your base are belong to us. | {len(self.bot.guilds)} servers",
|
||||
f"Double plus good. | {len(self.bot.guilds)} servers",
|
||||
"Now with slash commands!",
|
||||
"Vuln Pls.",
|
||||
"All your base are belong to us.",
|
||||
"Double plus good.",
|
||||
"That's a lot of damage!",
|
||||
]
|
||||
|
||||
status = random.choice(statuses)
|
||||
|
||||
status += f" | {len(self.bot.guilds)} servers"
|
||||
|
||||
await self.bot.change_presence(activity=nextcord.Game(status))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user