Update Message.js
This commit is contained in:
@@ -1170,13 +1170,7 @@ class Message extends Base {
|
|||||||
return this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
return this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
||||||
data: {
|
data: {
|
||||||
manual: true,
|
manual: true,
|
||||||
mention_count:
|
mention_count: 1,
|
||||||
this.mentions.everyone ||
|
|
||||||
this.mentions.repliedUser?.id === this.client.user.id ||
|
|
||||||
this.mentions.users.has(this.client.user.id) ||
|
|
||||||
(this.guildId && this.mentions.roles.some(r => this.guild.members.me._roles?.includes(r.id)))
|
|
||||||
? 1
|
|
||||||
: 0,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user