Vencord/src/plugins/STFU.ts
2022-10-01 02:27:28 +02:00

15 lines
438 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: /\.setDevtoolsCallbacks\(.+?else/,
replace: ".setDevtoolsCallbacks(null,null);else"
}
}]
});