diff options
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/error.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlers/error.rs b/src/handlers/error.rs index bddd4f4..48cb421 100644 --- a/src/handlers/error.rs +++ b/src/handlers/error.rs @@ -19,6 +19,7 @@ pub async fn handle(error: poise::FrameworkError<'_, Data, Report>) { FrameworkError::Command { error, ctx } => { error!("Error in command {}:\n{error}", ctx.command().name); + ctx.send(|c| { c.embed(|e| { e.title("Something went wrong!") |
