Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task ⚗] Error message templates #25

Open
3 tasks
HueByte opened this issue Aug 22, 2022 · 0 comments
Open
3 tasks

[Task ⚗] Error message templates #25

HueByte opened this issue Aug 22, 2022 · 0 comments
Labels
good first issue Good for newcomers Task A new task to do

Comments

@HueByte
Copy link
Owner

HueByte commented Aug 22, 2022

Description

Modify the error template to be more eye-pleasing, also reconsider displaying Exceptions (internal)

//...
case InteractionCommandError.Exception:
    embed.WithTitle("Command exception");
    embed.WithDescription(result.ErrorReason);
    await context.Interaction.ModifyOriginalResponseAsync((msg) => msg.Embed = embed.Build());
    break;      
//...       

Goals

  • Modify Template
  • Remove error icon
  • Implement Exception handler with proper message after reconsideration
@HueByte HueByte added good first issue Good for newcomers Task A new task to do labels Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Task A new task to do
Projects
None yet
Development

No branches or pull requests

1 participant