Skip to content

Commit

Permalink
fix(GuildMemberRoleStore): correctly reference the everyone role (dis…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyamie authored and samsamson33 committed Feb 27, 2020
1 parent 9430535 commit e5cd764
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.defaultRole;
const everyone = this.guild.roles.everyone;
return this.guild.roles.filter(role => this.member._roles.includes(role.id)).set(everyone.id, everyone);
}

Expand Down

0 comments on commit e5cd764

Please sign in to comment.