🐛 Change the way defer works, so it's all done by the bot instance
This commit is contained in:
@ -106,10 +106,7 @@ class Invest():
|
||||
return "no"
|
||||
|
||||
async def parseInvest(self, ctx, parameters):
|
||||
try:
|
||||
await ctx.defer()
|
||||
except:
|
||||
self.bot.log("Defer failed")
|
||||
await self.bot.defer(ctx)
|
||||
user = f"#{ctx.author.id}"
|
||||
|
||||
if parameters.startswith("check"):
|
||||
|
Reference in New Issue
Block a user