mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-04-19 20:24:47 +00:00
15 lines
418 B
TypeScript
15 lines
418 B
TypeScript
import RadioClient from "../../Client";
|
|
|
|
export default {
|
|
name: 'warning',
|
|
execute(client: RadioClient, warning: Error) {
|
|
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('');
|
|
}
|
|
}
|