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