From 6d47a570f857b0d457203c42089e207979694ddd Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Fri, 31 Dec 2021 02:27:18 -0500 Subject: [PATCH] Update: Working on SDR RX --- bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 58d304e..3a1cda3 100644 --- a/bot.py +++ b/bot.py @@ -14,10 +14,8 @@ class Bot(commands.Bot): # If there is no custom command prefix (!help, ?help, etc.), use '>!' but also accept @ mentions if 'command_prefix' not in kwargs.keys(): kwargs['command_prefix'] = '>!' - commands.Bot.__init__(self, command_prefix=commands.when_mentioned_or(kwargs['command_prefix'])) - - # Set the initial activity of the bot - await self.set_activity(connected=False) + commands.Bot.__init__(self, command_prefix=commands.when_mentioned_or(kwargs['command_prefix']), + activity=discord.Game(name=f"@ me"), status=discord.Status.idle) # Init the core bot variables self.DEVICE_ID = kwargs['Device_ID']