diff options
| author | 2020-03-24 13:54:20 +0200 | |
|---|---|---|
| committer | 2020-03-24 13:54:20 +0200 | |
| commit | 6e3cd45efa715b26061028a068ef3e56bc98b06e (patch) | |
| tree | 1def5476de153e9f1da747b19c9101f603832959 /bot | |
| parent | (Games Cog): Removed unnecessary parameter from matching helper function. (diff) | |
(Games Cog): Fixed matching not found message
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/seasons/evergreen/game.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/game.py b/bot/seasons/evergreen/game.py index 41aded90..cc798da5 100644 --- a/bot/seasons/evergreen/game.py +++ b/bot/seasons/evergreen/game.py @@ -208,8 +208,10 @@ class Games(Cog): if possibility: games = possibility else: + display_possibilities = ", ".join(p[1] for p in possibilities if p[0] >= 0.40) await ctx.send( - f"Invalid genre `{genre}`. {f'Maybe you meant `{possibilities}`?' if possibilities else ''}" + f"Invalid genre `{genre}`. " + f"{f'Maybe you meant `{display_possibilities}`?' if display_possibilities else ''}" ) return |