mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Hide difficulties
This commit is contained in:
parent
d6a306036a
commit
5951cfe874
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue