mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fix other .equals(null) (#541)
This commit is contained in:
committed by
Amish Shah
parent
8038903c3e
commit
0a005cbd16
@@ -55,6 +55,7 @@ class GroupDMChannel extends Channel {
|
||||
|
||||
equals(other) {
|
||||
const base = (
|
||||
other &&
|
||||
this.id === other.id &&
|
||||
this.name === other.name &&
|
||||
this.icon === other.icon &&
|
||||
|
||||
Reference in New Issue
Block a user