BUGFIG bot

- Missing activity
This commit is contained in:
Logan Cusano
2022-02-18 01:29:41 -05:00
parent dcfa2301b8
commit 15a592ad35

2
bot.py
View File

@@ -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', 'op25']:
if self.Handler in ['gqrx', 'op25']:
if self.profile_name is None:
await self.change_presence(activity=discord.Activity(type=discord.ActivityType.listening,
name=f"{self.freq[:-1]}"