diff --git a/bot.py b/bot.py index d08269a..2f2509e 100644 --- a/bot.py +++ b/bot.py @@ -136,14 +136,15 @@ class Bot(commands.Bot): # Add commands for GQRX and OP25 if self.Handler in BotResources.PDB_ACCEPTABLE_HANDLERS.keys(): # Command to display the current config - @self.command(name='displayprofile', help="Use this command to display the current configuration of the bot.\n" + @self.command(name='displayprofile', + help="Use this command to display the current configuration of the bot.\n" "Example command:\n" "\t@ displayprofile", breif="Display current bot config") async def _displayprofile(ctx, member: discord.Member = None): member = member or ctx.author.display_name message = self.display_current_radio_config() - await ctx.send(f"Ok {str(member).capitalize()}\n{message}") + await ctx.send(f"Ok {str(member).capitalize()},\n{message}") # Command to change the current frequency and mode @self.command(name='chfreq', help="Use this command to change the frequency the bot is listening to.\n" @@ -226,11 +227,11 @@ class Bot(commands.Bot): await ctx.send(f"{str(member).capitalize()}, something went wrong. Please check the console") @self.command(name='startsdr', hidden=True) - async def _startsdr(ctx, member: discord.Member = None): + async def _startsdr(*args): self.start_sdr() @self.command(name='stopsdr', hidden=True) - async def _stopsdr(ctx, member: discord.Member = None): + async def _stopsdr(*args): self.stop_sdr() # Add discord events to the bot