test errors
This commit is contained in:
parent
b4fd2e5d54
commit
05b4bd184f
@ -145,7 +145,7 @@ class BotEvents:
|
||||
async def on_command_error(self, ctx, error):
|
||||
if ctx.channel.id == 418452585683484680 and type(error) == discord.ext.commands.errors.CommandNotFound:
|
||||
return
|
||||
for page in utils.paginate(type(error)):
|
||||
for page in utils.paginate(type(error.__cause__)):
|
||||
await ctx.send(page)
|
||||
|
||||
async def on_guild_join(self, guild):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user