()
| 27 | public static final Pattern HEX_PATTERN = Pattern.compile("^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"); |
| 28 | |
| 29 | private Checks() { |
| 30 | } |
| 31 | |
| 32 | public static boolean hasStaffRole(BotConfig botConfig, @NotNull Member member) { |
| 33 | return member.getRoles().contains(botConfig.get(member.getGuild()).getModerationConfig().getStaffRole()); |
nothing calls this directly
no outgoing calls
no test coverage detected