We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224f23a commit c797ba1Copy full SHA for c797ba1
src/main/java/me/TechsCode/TechDiscordBot/module/cmds/BanCommand.java
@@ -18,11 +18,9 @@
18
19
public class BanCommand extends CommandModule {
20
21
- private final DefinedQuery<Role> STAFF_ROLE = new DefinedQuery<>() {
+ private final DefinedQuery<Role> STAFF_ROLE = new DefinedQuery<Role>() {
22
@Override
23
- protected Query<Role> newQuery() {
24
- return bot.getRoles("Staff");
25
- }
+ protected Query<Role> newQuery() { return bot.getRoles("Staff"); }
26
};
27
28
public BanCommand(TechDiscordBot bot) {
0 commit comments