mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Do not delete invoking for trivia
This commit is contained in:
parent
444d72ec94
commit
4081a4ab6d
1 changed files with 0 additions and 1 deletions
|
@ -36,7 +36,6 @@ class TriviaCommand(Command):
|
||||||
if self._question_lock:
|
if self._question_lock:
|
||||||
raise CommandError("C'è già un'altra domanda attiva!")
|
raise CommandError("C'è già un'altra domanda attiva!")
|
||||||
self._question_lock = True
|
self._question_lock = True
|
||||||
await data.delete_invoking()
|
|
||||||
# Fetch the question
|
# Fetch the question
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
async with session.get("https://opentdb.com/api.php?amount=1") as response:
|
async with session.get("https://opentdb.com/api.php?amount=1") as response:
|
||||||
|
|
Loading…
Reference in a new issue