Skip to content

Commit

Permalink
fix(GuildMemberRoleStore): correctly reference the everyone role (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyamie authored and SpaceEEC committed Aug 17, 2019
1 parent d62db23 commit 12b48b7
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 12b48b7

Please sign in to comment.