test errors

This commit is contained in:
Dusty.P 2018-05-20 00:39:18 -08:00
parent 5146c01ba9
commit 336c8a6906

View File

@ -145,7 +145,7 @@ class BotEvents:
async def on_command_error(self, ctx, error): async def on_command_error(self, ctx, error):
if ctx.channel.id == 418452585683484680 and type(error) == discord.ext.commands.errors.CommandNotFound: if ctx.channel.id == 418452585683484680 and type(error) == discord.ext.commands.errors.CommandNotFound:
return return
for page in utils.paginate(str(error.with_traceback)): for page in utils.paginate(str(error)):
await ctx.send(page) await ctx.send(page)
async def on_guild_join(self, guild): async def on_guild_join(self, guild):