mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 06:33:18 +00:00
Update warning event
This commit is contained in:
parent
6541287dec
commit
fee833d231
12
src/client/events/warning.js
Normal file
12
src/client/events/warning.js
Normal 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('');
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user