Merge branch 'master' into voice

This commit is contained in:
ouwou
2023-04-11 00:38:26 -04:00

View File

@@ -265,6 +265,7 @@ bool Message::IsEdited() const {
}
bool Message::DoesMention(Snowflake id) const noexcept {
if (DoesMentionEveryone) return true;
return std::any_of(Mentions.begin(), Mentions.end(), [id](const UserData &user) {
return user.ID == id;
});