From 0555b60a0caa41febcccf9d512ad4da0588600a4 Mon Sep 17 00:00:00 2001 From: tiltowait <208040+tiltowait@users.noreply.github.com> Date: Sun, 12 Sep 2021 13:09:53 -0700 Subject: [PATCH] Use the standard error embed --- inconnu/character/delete.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inconnu/character/delete.py b/inconnu/character/delete.py index 8fcd63d7..376510db 100644 --- a/inconnu/character/delete.py +++ b/inconnu/character/delete.py @@ -5,6 +5,7 @@ import discord from discord_ui import Button +from .. import common from ..vchar import errors, VChar @@ -41,7 +42,7 @@ async def prompt(ctx, character: str): await msg.disable_components() except errors.CharacterError as err: - await ctx.respond(str(err), hidden=True) + await common.display_error(ctx, ctx.author.display_name, err) def __generate_prompt(ctx, char_name: str):