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