Added !help hebdobot feature.
This commit is contained in:
parent
ba417d60d8
commit
d0bedf3d31
@ -50,7 +50,7 @@ public class HelpHook extends Hook
|
|||||||
if (StringsUtils.equalsAnyIgnoreCase(token, "aide", "help"))
|
if (StringsUtils.equalsAnyIgnoreCase(token, "aide", "help"))
|
||||||
{
|
{
|
||||||
result = new StringList();
|
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");
|
result.append("!aide commande, !help commande : afficher l'aide de la commande !commande");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -71,7 +71,7 @@ public class HelpHook extends Hook
|
|||||||
{
|
{
|
||||||
boolean result;
|
boolean result;
|
||||||
|
|
||||||
if (StringUtils.equalsAnyIgnoreCase(message, "!aide", "!help"))
|
if (StringUtils.equalsAnyIgnoreCase(message, "!aide", "!help", "!aide hebdobot", "!help hebdobot"))
|
||||||
{
|
{
|
||||||
logger.info("!help caught.");
|
logger.info("!help caught.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user