Skip to content

Commit

Permalink
Revert "fix(GuildMemberRoleStore): correctly reference the everyone r…
Browse files Browse the repository at this point in the history
…ole (discordjs#3434)"

This reverts commit e5cd764.
  • Loading branch information
samsamson33 committed Feb 27, 2020
1 parent 2aa2f61 commit 439c6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/GuildMemberRoleStore.js
Expand Up @@ -23,7 +23,7 @@ class GuildMemberRoleStore extends Collection {
* @readonly
*/
get _filtered() {
const everyone = this.guild.roles.everyone;
const everyone = this.guild.defaultRole;
return this.guild.roles.filter(role => this.member._roles.includes(role.id)).set(everyone.id, everyone);
}

Expand Down

0 comments on commit 439c6bf

Please sign in to comment.