owo-vencord/scripts/suppressExperimentalWarnings.js
2022-10-15 20:56:48 +02:00

6 lines
216 B
JavaScript

process.emit = (originalEmit => function (name, data) {
if (name === "warning" && data?.name === "ExperimentalWarning")
return false;
return originalEmit.apply(process, arguments);
})(process.emit);