Fixed.
This commit is contained in:
parent
f7c0e61528
commit
9ad133d829
|
@ -28,7 +28,7 @@ function incrementKey(id, key, amount) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
controller.hears(["jonbot","^pattern$"],["direct_message","direct_mention","mention","ambient"],function(bot,message) {
|
controller.hears(["jonbot"],["direct_message","direct_mention","mention","ambient"],function(bot,message) {
|
||||||
console.log(message.user + " mentioned \"jonbot\"");
|
console.log(message.user + " mentioned \"jonbot\"");
|
||||||
|
|
||||||
// Increment the logged amount of mentions
|
// Increment the logged amount of mentions
|
||||||
|
@ -47,7 +47,9 @@ controller.hears(["jonbot","^pattern$"],["direct_message","direct_mention","ment
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
controller.hears(["jon","^pattern$"],["direct_message","direct_mention","mention","ambient"],function(bot,message) {
|
// Lol, Christoffer er en noob.
|
||||||
|
|
||||||
|
controller.hears(["jon"],["direct_message","direct_mention","mention","ambient"],function(bot,message) {
|
||||||
console.log(message.user + " mentioned \"jon\"");
|
console.log(message.user + " mentioned \"jon\"");
|
||||||
|
|
||||||
// Increment the logged amount of mentions
|
// Increment the logged amount of mentions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user