This commit is contained in:
parent
655840dc82
commit
ecdb0c73e8
@ -21,9 +21,7 @@ public class CommandsCommand implements MessageCommand
|
||||
public List<Permission> getPermissions() { return null; }
|
||||
|
||||
@Override
|
||||
public boolean passRawArgs() {
|
||||
return false;
|
||||
}
|
||||
public boolean passRawArgs() { return false; }
|
||||
|
||||
@Override
|
||||
public void runCommand(MessageReceivedEvent event, String label, String[] args) {
|
||||
|
@ -109,6 +109,7 @@ public class MessageCommandListener extends ListenerAdapter
|
||||
event.getMessage()
|
||||
.reply("You do not have permissions to run this command!")
|
||||
.queue(); // todo prettier
|
||||
// todo: queue message deletion in 15 seconds or so
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user