Update: Working on SDR RX

This commit is contained in:
Logan Cusano
2021-12-31 02:27:18 -05:00
parent 7602469962
commit 6d47a570f8

6
bot.py
View File

@@ -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']