We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2001096 commit 24bde58Copy full SHA for 24bde58
src/handlers/error.rs
@@ -86,7 +86,18 @@ impl ValfiskError<'_> {
86
.description(format!("```\n{:#?}\n```", self.error_or_panic))
87
.footer(CreateEmbedFooter::new(&self.error_id))
88
.timestamp(Timestamp::now())
89
- .color(0xef4444);
+ .color(0xef4444)
90
+ .field(
91
+ "Command",
92
+ format!("`{}`", self.ctx.invoked_command_name()),
93
+ false,
94
+ )
95
96
+ "Channel",
97
+ format!("<#{}>", self.ctx.channel_id().get()),
98
99
100
+ .field("User", format!("<@{}>", self.ctx.author().id.get()), false);
101
102
channel
103
.send_message(&self.ctx, CreateMessage::new().embed(embed))
0 commit comments