cogs/emote: remove extra cast to str

This commit is contained in:
Io Mintz 2020-05-13 08:26:32 +00:00
parent cba238464c
commit fcc1f405e3
1 changed files with 1 additions and 1 deletions

View File

@ -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(