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