Add temporary error send in dev cog

This commit is contained in:
Zeva Rose 2021-06-29 20:21:32 -06:00
parent d64a82611d
commit 7201d6c8c8

View file

@ -300,6 +300,10 @@ class DevCog(commands.Cog):
del args, code
@commands.Cog.listener()
async def on_command_error(self, ctx, error):
await ctx.send(str(error))
def setup(bot):
bot.add_cog(DevCog(bot))