...
This commit is contained in:
parent
bff560ee2e
commit
964301d148
|
@ -92,9 +92,8 @@ module.exports = bot => {
|
||||||
active: true,
|
active: true,
|
||||||
clients: ["irc"],
|
clients: ["irc"],
|
||||||
f: e => {
|
f: e => {
|
||||||
const args = e.message.substring(8);
|
const args = parseInt(e.message.substring(8));
|
||||||
const out = Array(args).fill("f".charCodeAt(0)).join("").length
|
e.write(`PRIVMSG ${e.channel} :${Array(args).fill("f".charCodeAt(0)).join("").length}`);
|
||||||
e.write(`PRIVMSG ${e.channel} :${out}`);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user