mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23: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:
@@ -128,8 +128,8 @@ class InteractionCollector extends Collector {
|
||||
if (this.interactionType && interaction.type !== this.interactionType) return null;
|
||||
if (this.componentType && interaction.componentType !== this.componentType) return null;
|
||||
if (this.message && interaction.message?.id !== this.message.id) return null;
|
||||
if (this.channel && interaction.channelID !== this.channel.id) return null;
|
||||
if (this.guild && interaction.guildID !== this.guild.id) return null;
|
||||
if (this.channel && interaction.channelId !== this.channel.id) return null;
|
||||
if (this.guild && interaction.guildId !== this.guild.id) return null;
|
||||
|
||||
return interaction.id;
|
||||
}
|
||||
@@ -148,8 +148,8 @@ class InteractionCollector extends Collector {
|
||||
if (this.type && interaction.type !== this.type) return null;
|
||||
if (this.componentType && interaction.componentType !== this.componentType) return null;
|
||||
if (this.message && interaction.message?.id !== this.message.id) return null;
|
||||
if (this.channel && interaction.channelID !== this.channel.id) return null;
|
||||
if (this.guild && interaction.guildID !== this.guild.id) return null;
|
||||
if (this.channel && interaction.channelId !== this.channel.id) return null;
|
||||
if (this.guild && interaction.guildId !== this.guild.id) return null;
|
||||
|
||||
return interaction.id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user