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."); } }); }