mirror of
https://github.com/miaowware/qrm2.git
synced 2025-05-29 04:42:26 -04:00
Merge pull request #200 from classabbyamp/pfx-comma
remove extra comma in pfx invalid input handler
This commit is contained in:
commit
0e28366265
@ -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 ditto marks (") appearing in the ae7q call command.
|
||||||
- Fixed issue where incorrect table was parsed in ae7q call command.
|
- Fixed issue where incorrect table was parsed in ae7q call command.
|
||||||
- Fixed warning emoji reaction on messages starting with "??".
|
- 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
|
## [2.1.0] - 2020-01-04
|
||||||
|
@ -74,8 +74,8 @@ class HamCog(commands.Cog):
|
|||||||
return
|
return
|
||||||
embed = cmn.embed_factory(ctx)
|
embed = cmn.embed_factory(ctx)
|
||||||
if country.lower() not in callsign_info.options:
|
if country.lower() not in callsign_info.options:
|
||||||
embed.title = f"{country} not found!",
|
embed.title = f"{country} not found!"
|
||||||
embed.description = f"Valid countries: {', '.join(callsign_info.options.keys())}",
|
embed.description = f"Valid countries: {', '.join(callsign_info.options.keys())}"
|
||||||
embed.colour = cmn.colours.bad
|
embed.colour = cmn.colours.bad
|
||||||
else:
|
else:
|
||||||
embed.title = callsign_info.options[country.lower()][0]
|
embed.title = callsign_info.options[country.lower()][0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user