mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
fix(MessagePayload): don't set reply flags to target flags (#7514)
This commit is contained in:
@@ -143,7 +143,11 @@ class MessagePayload {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let flags;
|
let flags;
|
||||||
if (typeof this.options.flags !== 'undefined' || this.isMessage || this.isMessageManager) {
|
if (
|
||||||
|
typeof this.options.flags !== 'undefined' ||
|
||||||
|
(this.isMessage && typeof this.options.reply === 'undefined') ||
|
||||||
|
this.isMessageManager
|
||||||
|
) {
|
||||||
flags =
|
flags =
|
||||||
// eslint-disable-next-line eqeqeq
|
// eslint-disable-next-line eqeqeq
|
||||||
this.options.flags != null
|
this.options.flags != null
|
||||||
|
|||||||
Reference in New Issue
Block a user