From 82c081cd3cb70e50e942e40bc53ef98bc7c8be0b Mon Sep 17 00:00:00 2001 From: Pingex Date: Thu, 1 Sep 2016 20:24:39 +0200 Subject: [PATCH] Minor changes. --- src/main/java/net/pingex/dcf/commands/CommandHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/pingex/dcf/commands/CommandHandler.java b/src/main/java/net/pingex/dcf/commands/CommandHandler.java index 0c0c470..d7c9576 100644 --- a/src/main/java/net/pingex/dcf/commands/CommandHandler.java +++ b/src/main/java/net/pingex/dcf/commands/CommandHandler.java @@ -62,7 +62,7 @@ public class CommandHandler if(!targetCommand.isPresent()) { LOGGER.debug("No command with that name was found."); - DiscordInteractionsUtil.sendMessage(event.getMessage().getChannel(), "Command not found. Use `"+ Configuration.COMMAND_PREFIX +"list` to get a list of all available commands."); + DiscordInteractionsUtil.sendMessage(event.getMessage().getChannel(), "Command not found. Use `"+ Configuration.COMMAND_PREFIX + "internal:list` to get a list of all available commands."); return; } @@ -76,6 +76,7 @@ public class CommandHandler catch(Throwable throwable) { LOGGER.error("Error while executing command " + command + ".", throwable); + DiscordInteractionsUtil.sendMessage(event.getMessage().getChannel(), "Error while executing the command."); } }); }