From 5951cfe87440a1432efbc3f8dc55198ef58b5d8b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 17 Jan 2020 17:58:56 +0100 Subject: [PATCH] Hide difficulties --- royalpack/commands/trivia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/trivia.py b/royalpack/commands/trivia.py index cca233a8..7f7f98c9 100644 --- a/royalpack/commands/trivia.py +++ b/royalpack/commands/trivia.py @@ -64,7 +64,7 @@ class TriviaCommand(rc.Command): if j["response_code"] != 0: raise rc.CommandError(f"OpenTDB returned an error response_code ({j['response_code']}).") question = j["results"][0] - text = f'❓ [b]{question["category"]} - {question["difficulty"].capitalize()}[/b]\n' \ + text = f'❓ [b]{question["category"]}[/b]\n' \ f'{html.unescape(question["question"])}' # Prepare answers correct_answer: str = question["correct_answer"]