This commit is contained in:
Flummi
2018-02-28 04:34:52 +01:00
parent 2940b05518
commit 59be967f29
23 changed files with 96 additions and 26 deletions

View File

@@ -3,8 +3,7 @@ import cleverbot from "./lib/cleverbot";
export default bot => {
bot._trigger.set("chatbot", new bot.trigger({
call: /.*uwe.*/i,
clients: ["tg", "discord"],
active: true,
set: "uwe",
f: e => {
const chat = e.message
.replace(/uwe/gi, "")