We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab3f7b commit 5724218Copy full SHA for 5724218
bot.py
@@ -175,9 +175,12 @@ async def on_connect(self):
175
print(line)
176
print(Fore.CYAN + 'Connected to gateway.')
177
await self.config.refresh()
178
- status = self.config.get('status')
179
- if status:
180
- await self.change_presence(activity=discord.Game(status))
+
+ activity_type = self.config.get('activity_type')
+ message = self.config.get('activity_message')
181
+ if activity_type and message:
182
+ activity = discord.Activity(type=activity_type, name=message)
183
+ await self.change_presence(activity=activity)
184
185
async def on_ready(self):
186
"""Bot startup, sets uptime."""
0 commit comments