@@ -116,9 +116,12 @@ pub async fn message_send(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !mentions.is_empty() {
|
if !mentions.is_empty() {
|
||||||
message
|
message.mentions.replace(
|
||||||
.mentions
|
mentions
|
||||||
.replace(mentions.into_iter().collect::<Vec<String>>());
|
.into_iter()
|
||||||
|
.filter(|id| !user.has_blocked(id))
|
||||||
|
.collect::<Vec<String>>(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if !replies.is_empty() {
|
if !replies.is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user