mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Replace usages of owner.id with ownerID, and fix GroupDMChannel.equals
This commit is contained in:
@@ -97,7 +97,7 @@ class GroupDMChannel extends Channel {
|
||||
this.id === channel.id &&
|
||||
this.name === channel.name &&
|
||||
this.icon === channel.icon &&
|
||||
this.owner.id === channel.owner_id;
|
||||
this.ownerID === channel.ownerID;
|
||||
|
||||
if (equal) {
|
||||
const thisIDs = this.recipients.array().map(r => r.id);
|
||||
|
||||
Reference in New Issue
Block a user