jo hau rein die dscheise
This commit is contained in:
@@ -2,11 +2,11 @@ import cleverbot from "./lib/cleverbot";
|
||||
|
||||
export default bot => {
|
||||
bot._trigger.set("chatbot", new bot.trigger({
|
||||
call: /^(?![!./[])(.*uwe.*)/i,
|
||||
call: /^(?![!./[])(.*uw(e|i).*)/i,
|
||||
set: "uwe",
|
||||
f: e => {
|
||||
const chat = e.message
|
||||
.replace(/uwe/gi, "")
|
||||
.replace(/uw(e|i)/gi, "")
|
||||
.split("?")
|
||||
.join("");
|
||||
cleverbot.ask(chat)
|
||||
|
Reference in New Issue
Block a user