remove extra comma in pfx invalid input handler

This commit is contained in:
Abigail 2020-02-15 05:58:57 -05:00
parent 27c290cff8
commit 9471eaa3cb
2 changed files with 3 additions and 2 deletions

View File

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

View File

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