From ecdb0c73e8d71823f391f7d91c32e863bc7be602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Tue, 22 Nov 2022 17:27:56 +0100 Subject: [PATCH] Add tiny comment --- .../beatrice/hidekobot/commands/message/CommandsCommand.java | 4 +--- .../beatrice/hidekobot/listeners/MessageCommandListener.java | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/message/CommandsCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/message/CommandsCommand.java index 3c12ec4..f2eebfb 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/message/CommandsCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/message/CommandsCommand.java @@ -21,9 +21,7 @@ public class CommandsCommand implements MessageCommand public List getPermissions() { return null; } @Override - public boolean passRawArgs() { - return false; - } + public boolean passRawArgs() { return false; } @Override public void runCommand(MessageReceivedEvent event, String label, String[] args) { diff --git a/src/main/java/wtf/beatrice/hidekobot/listeners/MessageCommandListener.java b/src/main/java/wtf/beatrice/hidekobot/listeners/MessageCommandListener.java index f10df49..bc42864 100644 --- a/src/main/java/wtf/beatrice/hidekobot/listeners/MessageCommandListener.java +++ b/src/main/java/wtf/beatrice/hidekobot/listeners/MessageCommandListener.java @@ -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; }