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