This commit is contained in:
Flummi 2017-11-22 23:15:49 +01:00
parent 9f29720721
commit 7beb7512de
2 changed files with 4 additions and 6 deletions

View File

@ -119,11 +119,10 @@ class irc {
};
}
format(msg) {
return msg;
/*return msg
return msg
.replace(/\[b\](.*?)\[\/b\]/g, "\x02$1\x0F") // bold
.replace(/\[i\](.*?)\[\/i\]/g, "\x1D$1\x0F") // italic
;*/
;
}
}

View File

@ -10,8 +10,7 @@ module.exports = bot => {
active: true,
clients: ["irc", "tg"],
f: e => {
e.reply(Array(100000).fill("f".charCodeAt(0)).join``.length);
/*const args = e.message.substring(3);
const args = e.message.substring(3);
const context = {
e: e,
t: bot._trigger
@ -27,7 +26,7 @@ module.exports = bot => {
}
catch (err) {
e.reply(err.message);
}*/
}
}
});