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 => { 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