We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef61643 commit 0a8d9a2Copy full SHA for 0a8d9a2
1 file changed
src/main/java/fr/ordinalteam/bot/api/utils/RoleUtil.java
@@ -64,4 +64,8 @@ public static List<Role> getModsRole(final Guild guild) {
64
65
return roles;
66
}
67
+
68
+ public static boolean isBooster(final Member member) {
69
+ return member.getRoles().contains(member.getGuild().getRoleById(BOOSTER));
70
+ }
71
0 commit comments