Skip to content

Commit c797ba1

Browse files
committed
Update BanCommand.java
1 parent 224f23a commit c797ba1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/me/TechsCode/TechDiscordBot/module/cmds/BanCommand.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818

1919
public class BanCommand extends CommandModule {
2020

21-
private final DefinedQuery<Role> STAFF_ROLE = new DefinedQuery<>() {
21+
private final DefinedQuery<Role> STAFF_ROLE = new DefinedQuery<Role>() {
2222
@Override
23-
protected Query<Role> newQuery() {
24-
return bot.getRoles("Staff");
25-
}
23+
protected Query<Role> newQuery() { return bot.getRoles("Staff"); }
2624
};
2725

2826
public BanCommand(TechDiscordBot bot) {

0 commit comments

Comments
 (0)