mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Replace usages of owner.id with ownerID, and fix GroupDMChannel.equals
This commit is contained in:
@@ -55,7 +55,7 @@ class ClientDataResolver {
|
||||
if (user instanceof User || user instanceof GuildMember) return user.id;
|
||||
if (typeof user === 'string') return user || null;
|
||||
if (user instanceof Message) return user.author.id;
|
||||
if (user instanceof Guild) return user.owner.id;
|
||||
if (user instanceof Guild) return user.ownerID;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user