add traceback test

This commit is contained in:
annihilator708 2018-05-21 03:51:28 +02:00
parent 646f223486
commit b6422c4eac

View File

@ -78,5 +78,10 @@ class Upload:
else: else:
await ctx.send(f'Loaded `{extension}`.') await ctx.send(f'Loaded `{extension}`.')
@commands.command()
async def err(self, ctx):
"""triggers error to test traceback"""
await ctx.send(a)
def setup(bot): def setup(bot):
bot.add_cog(Upload(bot)) bot.add_cog(Upload(bot))