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

View File

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