Merge pull request #200 from classabbyamp/pfx-comma

remove extra comma in pfx invalid input handler
This commit is contained in:
Abigail Gold 2020-02-15 06:02:13 -05:00 committed by GitHub
commit 0e28366265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]