🐛 Change the way defer works, so it's all done by the bot instance
This commit is contained in:
@ -86,10 +86,7 @@ class Trivia():
|
||||
return None
|
||||
|
||||
async def triviaParse(self, ctx, answer):
|
||||
try:
|
||||
await ctx.defer()
|
||||
except:
|
||||
self.bot.log("defer failed")
|
||||
await self.bot.defer(ctx)
|
||||
if answer == "":
|
||||
question, options, correctAnswer = self.triviaStart(str(ctx.channel_id))
|
||||
if options != "":
|
||||
|
Reference in New Issue
Block a user