test errors

This commit is contained in:
Dusty.P 2018-05-20 00:53:22 -08:00
parent b42d0ef35a
commit fac236ed04

View File

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