This commit is contained in:
Flummi 2017-11-22 23:12:45 +01:00
parent 343d3dedad
commit 9f29720721
3 changed files with 7 additions and 5 deletions

View File

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

View File

@ -194,7 +194,7 @@ module.exports = bot => {
}); });
bot._trigger.set("REEE", { bot._trigger.set("REEE", {
call: /re+$/i, call: /reee+$/i,
level: 0, level: 0,
active: true, active: true,
clients: ["irc", "tg"], clients: ["irc", "tg"],