irgendwas mit regex
This commit is contained in:
parent
1e884244e3
commit
a475e6b027
@ -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 => {
|
||||
});
|
||||
}
|
||||
}));
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user