BUGFIG bot
- Missing activity
This commit is contained in:
2
bot.py
2
bot.py
@@ -318,7 +318,7 @@ class Bot(commands.Bot):
|
||||
# Set the activity of the bot
|
||||
async def set_activity(self, connected=True):
|
||||
if connected:
|
||||
if self.Handler == 'gqrx':
|
||||
if self.Handler == ['gqrx', 'op25']:
|
||||
if self.profile_name is None:
|
||||
await self.change_presence(activity=discord.Activity(type=discord.ActivityType.listening,
|
||||
name=f"{self.freq[:-1]}"
|
||||
|
||||
Reference in New Issue
Block a user