This commit is contained in:
Flummi 2017-11-22 23:52:29 +01:00
parent 538d1f7513
commit bff560ee2e

View File

@ -90,11 +90,11 @@ module.exports = bot => {
call: /^\!flummi .*/i, call: /^\!flummi .*/i,
level: 100, level: 100,
active: true, active: true,
clients: ["irc", "tg"], clients: ["irc"],
f: e => { f: e => {
const args = e.message.substring(8); const args = e.message.substring(8);
const out = Array(args).fill("f".charCodeAt(0)).join("").length const out = Array(args).fill("f".charCodeAt(0)).join("").length
e.write(`PRIVMSG ${e.network} :${out}`); e.write(`PRIVMSG ${e.channel} :${out}`);
} }
}); });
}; };