We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72ab92a + 5fdbc46 commit 25ab6f4Copy full SHA for 25ab6f4
1 file changed
src/events/mod.rs
@@ -5,6 +5,8 @@ pub mod issue;
5
pub mod code;
6
7
pub async fn message(ctx: &Context, msg: &Message) {
8
- issue::message(&ctx, &msg).await;
9
- code::message(&ctx, &msg).await;
+ if !msg.author.bot {
+ issue::message(&ctx, &msg).await;
10
+ code::message(&ctx, &msg).await;
11
+ }
12
}
0 commit comments