Vencord/src/plugins/STFU.ts
Ven 74c3930e0a
add eslint config (#53)
* eslint

* workflow

* lint main
2022-10-06 00:42:58 +02:00

16 lines
439 B
TypeScript

import definePlugin from "../utils/types";
import { Devs } from "../utils/constants";
export default definePlugin({
name: "STFU",
description: "Disables the 'HOLD UP' banner in the console",
authors: [Devs.Ven],
patches: [{
find: "setDevtoolsCallbacks",
replacement: {
match: /if\(.{0,10}\|\|"0.0.0"!==.{0,2}\.remoteApp\.getVersion\(\)\)/,
replace: "if(false)"
}
}]
});