mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 14:11:09 +00:00
Webpack build for branch master: 258fc4ecf3
This commit is contained in:
parent
20c6517a68
commit
cf22568a09
2 changed files with 2 additions and 2 deletions
|
|
@ -17712,7 +17712,7 @@ class MessageMentions {
|
|||
has(data, strict = true) {
|
||||
if (strict && this.everyone) return true;
|
||||
if (strict && data instanceof GuildMember) {
|
||||
for (const role of this.roles) if (data.roles.has(role.id)) return true;
|
||||
for (const role of this.roles.values()) if (data.roles.has(role.id)) return true;
|
||||
}
|
||||
const id = data.id || data;
|
||||
return this.users.has(id) || this.channels.has(id) || this.roles.has(id);
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue