mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
cogs/emote: remove extra cast to str
This commit is contained in:
parent
cba238464c
commit
fcc1f405e3
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Emotes(commands.Cog):
|
|||
@commands.Cog.listener()
|
||||
async def on_command_error(self, context, error):
|
||||
if isinstance(error, errors.EmoteManagerError):
|
||||
await context.send(str(error))
|
||||
await context.send(error)
|
||||
|
||||
if isinstance(error, commands.NoPrivateMessage):
|
||||
await context.send(
|
||||
|
|
Loading…
Reference in a new issue