irgendwas mit regex
This commit is contained in:
parent
1e884244e3
commit
a475e6b027
@ -2,7 +2,7 @@ import cleverbot from "./lib/cleverbot";
|
|||||||
|
|
||||||
export default bot => {
|
export default bot => {
|
||||||
bot._trigger.set("chatbot", new bot.trigger({
|
bot._trigger.set("chatbot", new bot.trigger({
|
||||||
call: /.*uwe.*/i,
|
call: /^(?![!./[])(.*uwe.*)/i,
|
||||||
set: "uwe",
|
set: "uwe",
|
||||||
f: e => {
|
f: e => {
|
||||||
const chat = e.message
|
const chat = e.message
|
||||||
@ -18,4 +18,4 @@ export default bot => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user