Add temporary error send in dev cog
This commit is contained in:
parent
d64a82611d
commit
7201d6c8c8
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue