test errors
This commit is contained in:
parent
960fbfbcd2
commit
469cd5a4b1
@ -146,7 +146,7 @@ class BotEvents:
|
|||||||
import traceback
|
import traceback
|
||||||
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(''.join(traceback.format_exception(error))):
|
for page in utils.paginate(''.join(traceback.format_exception(error, error.__traceback__))):
|
||||||
await ctx.send(page)
|
await ctx.send(page)
|
||||||
|
|
||||||
async def on_guild_join(self, guild):
|
async def on_guild_join(self, guild):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user