irgendwas mit regex

This commit is contained in:
Flummi 2019-01-02 23:36:43 +01:00
parent 1e884244e3
commit a475e6b027

View File

@ -2,7 +2,7 @@ import cleverbot from "./lib/cleverbot";
export default bot => {
bot._trigger.set("chatbot", new bot.trigger({
call: /.*uwe.*/i,
call: /^(?![!./[])(.*uwe.*)/i,
set: "uwe",
f: e => {
const chat = e.message
@ -18,4 +18,4 @@ export default bot => {
});
}
}));
};
};