Added !merci command.
This commit is contained in:
parent
6cd93b9334
commit
4f3a84142e
@ -518,6 +518,13 @@ public class Hebdobot extends PircBot
|
|||||||
// Salutation command.
|
// Salutation command.
|
||||||
sendMessage(sender + ", bonjour \\o/");
|
sendMessage(sender + ", bonjour \\o/");
|
||||||
}
|
}
|
||||||
|
else if (StringsUtils.equalsAnyIgnoreCase(text, "!merci"))
|
||||||
|
{
|
||||||
|
logger.info("!merci caught.");
|
||||||
|
|
||||||
|
// Salutation command.
|
||||||
|
sendMessage(sender + ", de rien \\o/");
|
||||||
|
}
|
||||||
else if (text.startsWith("!"))
|
else if (text.startsWith("!"))
|
||||||
{
|
{
|
||||||
logger.info("!??? caught.");
|
logger.info("!??? caught.");
|
||||||
@ -536,6 +543,10 @@ public class Hebdobot extends PircBot
|
|||||||
{
|
{
|
||||||
sendMessage(sender + ", bonjour \\o/");
|
sendMessage(sender + ", bonjour \\o/");
|
||||||
}
|
}
|
||||||
|
else if ((StringsUtils.containsAnyIgnoreCase(text, "merci")) && (StringUtils.containsIgnoreCase(text, "hebdobot")))
|
||||||
|
{
|
||||||
|
sendMessage(sender + ", de rien \\o/");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user