BUGFIX in display all profiles
This commit is contained in:
20
bot.py
20
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"
|
||||
|
||||
Reference in New Issue
Block a user