Milch lul

This commit is contained in:
Flummi 2018-10-13 22:27:31 +00:00
parent 477aca466f
commit a287e7201c

View File

@ -5,6 +5,7 @@ const data = {
abschieben: [], abschieben: [],
kaffee: [], kaffee: [],
tee: [], tee: [],
milch: [],
quotes_firecooler: [], quotes_firecooler: [],
quotes_kinski: [], quotes_kinski: [],
quotes_stoll: [], quotes_stoll: [],
@ -61,6 +62,16 @@ export default bot => {
} }
})); }));
bot._trigger.set("milch", new bot.trigger({
call: /^(\.|\/)milch/i,
set: "uwe",
f: e => {
e.replyAction(data.milch[~~(Math.random() * data.milch.length)]
.replace("{user}", `[b]${e.args[0] || e.user.nick}[/b]`)
);
}
}));
bot._trigger.set("milchkaffee", new bot.trigger({ bot._trigger.set("milchkaffee", new bot.trigger({
call: /^(\.|\/)milchkaffee/i, call: /^(\.|\/)milchkaffee/i,
set: "uwe", set: "uwe",