mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
refactor: change xID to xId (#6036)
* refactor: change `xID` to `xId` * Update src/managers/MessageManager.js Co-authored-by: Noel <buechler.noel@outlook.com> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -173,8 +173,8 @@ class MessagePayload {
|
||||
let message_reference;
|
||||
if (typeof this.options.reply === 'object') {
|
||||
const message_id = this.isMessage
|
||||
? this.target.channel.messages.resolveID(this.options.reply.messageReference)
|
||||
: this.target.messages.resolveID(this.options.reply.messageReference);
|
||||
? this.target.channel.messages.resolveId(this.options.reply.messageReference)
|
||||
: this.target.messages.resolveId(this.options.reply.messageReference);
|
||||
if (message_id) {
|
||||
message_reference = {
|
||||
message_id,
|
||||
|
||||
Reference in New Issue
Block a user