From 0d51b47146eaf5b2e1bba4412c99e082596a4597 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Thu, 17 Mar 2022 23:15:02 -0400 Subject: [PATCH] BUGFIX in display all profiles --- bot.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bot.py b/bot.py index 4339b23..ba4f7ed 100644 --- a/bot.py +++ b/bot.py @@ -161,16 +161,16 @@ class Bot(commands.Bot): message = self.display_current_radio_config() await ctx.send(f"Ok {str(member).capitalize()},\n{message}") - # Command to display the current config - @self.command(name='displayprofiles', - help="Use this command to display the saved profiles.\n" - "Example command:\n" - "\t@ displayprofiles", - breif="Display current bot config") - async def _displayprofiles(ctx, member: discord.Member = None): - member = member or ctx.author.display_name - message = self.display_saved_radio_configs() - await ctx.send(f"Ok {str(member).capitalize()},\n{message}") + # Command to display the current config + @self.command(name='displayprofiles', + help="Use this command to display the saved profiles.\n" + "Example command:\n" + "\t@ displayprofiles", + breif="Display current bot config") + async def _displayprofiles(ctx, member: discord.Member = None): + member = member or ctx.author.display_name + message = self.display_saved_radio_configs() + 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"