special stuff for devs

This commit is contained in:
Astra 2018-04-18 03:51:23 -04:00
parent e4e9af0fdc
commit 45c231cc39

View file

@ -36,6 +36,23 @@
// disable that obnoxious warning about not pasting shit in the console // disable that obnoxious warning about not pasting shit in the console
wc.findFunc("SELF_XSS_HEADER")[1].exports.consoleWarning = e => { }; wc.findFunc("SELF_XSS_HEADER")[1].exports.consoleWarning = e => { };
// goodies for bootsy and dr1ft
$api.util.wrapAfter(
"wc.findCache('getUser')[0].exports.getUser",
x => {
if (
x.id == '133510610896814080' || // bootsy
x.id == '141011672826511360' // caela^dr1ft
) x.bot = true;
if (x.id == '266757314864742421') x.discriminator = 'CUTE'; // astra^dr1ft
return x;
}
);
}); });
// load EPAPI // load EPAPI