diff --git a/CHANGELOG.md b/CHANGELOG.md index 7538e64..99c6991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fixed ditto marks (") appearing in the ae7q call command. - Fixed issue where incorrect table was parsed in ae7q call command. - Fixed warning emoji reaction on messages starting with "??". +- Fixed issue where `prefixes` would error when given an invalid argument. ## [2.1.0] - 2020-01-04 diff --git a/exts/ham.py b/exts/ham.py index 048a7ab..207a8ce 100644 --- a/exts/ham.py +++ b/exts/ham.py @@ -74,8 +74,8 @@ class HamCog(commands.Cog): return embed = cmn.embed_factory(ctx) if country.lower() not in callsign_info.options: - embed.title = f"{country} not found!", - embed.description = f"Valid countries: {', '.join(callsign_info.options.keys())}", + embed.title = f"{country} not found!" + embed.description = f"Valid countries: {', '.join(callsign_info.options.keys())}" embed.colour = cmn.colours.bad else: embed.title = callsign_info.options[country.lower()][0]