mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Add stricter/better ESLint config (#589)
* Add stricter/better ESLint config * Remove more unnecessary @returns
This commit is contained in:
committed by
Amish Shah
parent
2682c07bd8
commit
68acf37fd4
@@ -54,13 +54,11 @@ class GroupDMChannel extends Channel {
|
||||
}
|
||||
|
||||
equals(other) {
|
||||
const base = (
|
||||
other &&
|
||||
const base = other &&
|
||||
this.id === other.id &&
|
||||
this.name === other.name &&
|
||||
this.icon === other.icon &&
|
||||
this.owner.id === other.owner_id
|
||||
);
|
||||
this.owner.id === other.owner_id;
|
||||
|
||||
if (base) {
|
||||
const thisIDs = this.recipients.array().map(r => r.id);
|
||||
|
||||
Reference in New Issue
Block a user