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) { format(msg) {
return msg; return msg
/*return msg
.replace(/\[b\](.*?)\[\/b\]/g, "\x02$1\x0F") // bold .replace(/\[b\](.*?)\[\/b\]/g, "\x02$1\x0F") // bold
.replace(/\[i\](.*?)\[\/i\]/g, "\x1D$1\x0F") // italic .replace(/\[i\](.*?)\[\/i\]/g, "\x1D$1\x0F") // italic
;*/ ;
} }
} }

View File

@ -10,8 +10,7 @@ module.exports = bot => {
active: true, active: true,
clients: ["irc", "tg"], clients: ["irc", "tg"],
f: e => { 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 = { const context = {
e: e, e: e,
t: bot._trigger t: bot._trigger
@ -27,7 +26,7 @@ module.exports = bot => {
} }
catch (err) { catch (err) {
e.reply(err.message); e.reply(err.message);
}*/ }
} }
}); });