Made quiz ready for release
This commit is contained in:
@@ -39,8 +39,8 @@ class QuizQuestions(commands.Cog):
|
||||
quizdb = QuizDB()
|
||||
q_id = quizdb.add_question(q, a, reward)
|
||||
await ctx.send("question id: " + str(q_id))
|
||||
# except:
|
||||
# await ctx.send("Something went wrong")
|
||||
except:
|
||||
await ctx.send("Something went wrong")
|
||||
finally:
|
||||
quizdb.close()
|
||||
|
||||
@@ -75,8 +75,8 @@ class QuizQuestions(commands.Cog):
|
||||
class Quiz(commands.Cog):
|
||||
def __init__(self, client):
|
||||
self.client = client
|
||||
self.interval = (5, 10)
|
||||
#self.interval = (8*60, 30*60)
|
||||
#self.interval = (5, 10)
|
||||
self.interval = (8*60, 30*60)
|
||||
self.auto = False
|
||||
|
||||
@commands.command(name="quiz")
|
||||
|
||||
Reference in New Issue
Block a user