From 15a592ad35e2c1ca7d60e68386e8f239c1e625fd Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 18 Feb 2022 01:29:41 -0500 Subject: [PATCH] BUGFIG bot - Missing activity --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 3b20dc3..65325d8 100644 --- a/bot.py +++ b/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', '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]}"