Small change in "Command not found" message.

keep-around/d31701866686f66088b78de2e29736ae36e55a68
Pingex aka Raphaël 9 years ago
parent 150d8bd52b
commit dea35f59a6

@ -3,6 +3,7 @@ package net.pingex.dcf.commands;
import net.pingex.dcf.commands.parser.BasicParser;
import net.pingex.dcf.commands.parser.ICommandParser;
import net.pingex.dcf.commands.parser.ParserException;
import net.pingex.dcf.core.Configuration;
import net.pingex.dcf.modularity.PluginWrapper;
import net.pingex.dcf.util.DiscordInteractionsUtil;
import org.apache.logging.log4j.LogManager;
@ -52,7 +53,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 `!list` to get a list of all available commands.");
DiscordInteractionsUtil.sendMessage(event.getMessage().getChannel(), "Command not found. Use `"+ Configuration.COMMAND_PREFIX +"list` to get a list of all available commands.");
return;
}