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(Throwablethrowable)
{
LOGGER.error("Error while executing command "+command+".",throwable);
DiscordInteractionsUtil.sendMessage(event.getMessage().getChannel(),"Error while executing the command.");