Skip to content

Commit

Permalink
Updated role name.
Browse files Browse the repository at this point in the history
  • Loading branch information
EazyFTW committed Aug 28, 2020
1 parent 32004c4 commit bb3bf03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void onEnable() {
}

public void updateRoles() {
roles = TechDiscordBot.getJDA().getRoles().stream().filter(role -> role.getName().endsWith(" Preorders")).map(Role::getName).collect(Collectors.toList());
roles = TechDiscordBot.getJDA().getRoles().stream().filter(role -> role.getName().endsWith(" Preorder")).map(Role::getName).collect(Collectors.toList());
}

public void updateRolesMembers() {
Expand Down

0 comments on commit bb3bf03

Please sign in to comment.