🐛 Change the way defer works, so it's all done by the bot instance
This commit is contained in:
@ -34,7 +34,7 @@ class Other():
|
||||
|
||||
# Picks a random movie and returns information about it
|
||||
async def movieFunc(self, ctx):
|
||||
await ctx.defer()
|
||||
await self.bot.defer(ctx)
|
||||
|
||||
self.bot.log("Creating IMDb object")
|
||||
imdbClient = imdb.IMDb()
|
||||
@ -138,7 +138,7 @@ class Other():
|
||||
|
||||
# Finds a page from the Senkulpa Wikia
|
||||
async def findWikiPage(self, ctx, search : str):
|
||||
await ctx.defer()
|
||||
await self.bot.defer(ctx)
|
||||
foundPage = False
|
||||
|
||||
if search != "":
|
||||
|
Reference in New Issue
Block a user