Added !help hebdobot feature.

This commit is contained in:
Christian P. MOMON 2021-05-08 05:26:42 +02:00
parent ba417d60d8
commit d0bedf3d31

View File

@ -50,7 +50,7 @@ public class HelpHook extends Hook
if (StringsUtils.equalsAnyIgnoreCase(token, "aide", "help"))
{
result = new StringList();
result.append("!aide, !help : afficher l'aide générale");
result.append("!aide, !help, !aide hebdobot, !help hebdobot : afficher l'aide générale");
result.append("!aide commande, !help commande : afficher l'aide de la commande !commande");
}
else
@ -71,7 +71,7 @@ public class HelpHook extends Hook
{
boolean result;
if (StringUtils.equalsAnyIgnoreCase(message, "!aide", "!help"))
if (StringUtils.equalsAnyIgnoreCase(message, "!aide", "!help", "!aide hebdobot", "!help hebdobot"))
{
logger.info("!help caught.");