From 6e3cd45efa715b26061028a068ef3e56bc98b06e Mon Sep 17 00:00:00 2001 From: ks123 Date: Tue, 24 Mar 2020 13:54:20 +0200 Subject: (Games Cog): Fixed matching not found message --- bot/seasons/evergreen/game.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bot') 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 -- cgit v1.2.3