diff options
| author | seth <[email protected]> | 2023-12-06 03:57:33 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-15 16:41:13 -0500 |
| commit | 904259063831738d357a8092bee7c0e30988b0f6 (patch) | |
| tree | 9290284e1ec3f639167e03b862ab776c74eddfc6 /src/handlers/error.rs | |
| parent | 14c417db576bc45e768143832750e6ed47d2d776 (diff) | |
refactor: use reactboard-v2
yay! we don't need to fetch every single reaction from
every guild whenever a new one is triggered
Diffstat (limited to 'src/handlers/error.rs')
| -rw-r--r-- | src/handlers/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/handlers/error.rs b/src/handlers/error.rs index c6cefa2..bddd4f4 100644 --- a/src/handlers/error.rs +++ b/src/handlers/error.rs @@ -18,7 +18,7 @@ pub async fn handle(error: poise::FrameworkError<'_, Data, Report>) { } FrameworkError::Command { error, ctx } => { - error!("Error in command {}:\n{error:?}", ctx.command().name); + error!("Error in command {}:\n{error}", ctx.command().name); ctx.send(|c| { c.embed(|e| { e.title("Something went wrong!") @@ -37,7 +37,7 @@ pub async fn handle(error: poise::FrameworkError<'_, Data, Report>) { event, framework: _, } => { - error!("Error while handling event {}:\n{error:?}", event.name()); + error!("Error while handling event {}:\n{error}", event.name()); } error => { |
