1
0
mirror of https://github.com/warengroup/eximiabots-radiox.git synced 2025-01-12 07:44:49 +00:00

Update warning event

This commit is contained in:
Christer Warén 2021-09-10 01:43:53 +03:00
parent 6541287dec
commit fee833d231

View File

@ -0,0 +1,12 @@
module.exports = {
name: 'warning',
execute(client, warning) {
if(warning.name == "ExperimentalWarning" && warning.message.startsWith("stream/web")) return;
client.funcs.logger("Warning");
console.warn(warning.name);
console.warn(warning.message);
console.warn(warning.stack);
console.log('');
}
}