Skip to content

Commit

Permalink
add ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mii443 committed Apr 6, 2023
1 parent b62e81d commit 52f86a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/events/message_receive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ pub async fn message(ctx: Context, message: Message) {
return;
}

if message.content.starts_with(";") {
return;
}

instance.read(message, &ctx).await;
}
}

0 comments on commit 52f86a6

Please sign in to comment.