From 32d42d5fbab9c74dbe59fbdb94a29112f8766e27 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 15 Dec 2023 02:04:28 -0500 Subject: commands: improve descriptions --- src/handlers/error.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/handlers/error.rs') 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!") -- cgit v1.2.3