We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e2ca5 commit 27d0d7aCopy full SHA for 27d0d7a
src/handler.rs
@@ -25,14 +25,6 @@ impl BotHandler {
25
pub(self) async fn warn_mods(&self, ctx: &Context, punished: &PunishedUser) {
26
let usr = punished.id.to_user(&ctx).await.unwrap();
27
let _ = self.config.warn_channel.send_message(&ctx, |m| {
28
- m.allowed_mentions(|am| {
29
- am.roles(vec![*(self.config.warn_role).as_u64()]);
30
-
31
- am
32
- });
33
34
- m.content(format!("<@&{}>", self.config.warn_role.as_u64()));
35
36
m.embed(|e| {
37
e.title("Pit Threshold Reached");
38
e.description(format!(r#"
0 commit comments