Plugin

NoDevtoolsWarning

Disables the 'HOLD UP' banner in the console. As a side effect, also prevents Discord from hiding your token, which prevents random logouts.

Developers Console
index.ts
Download

Source

src/plugins/noDevtoolsWarning/index.ts
1import { Devs } from "@utils/constants";
2import definePlugin from "@utils/types";
3
4export default definePlugin({
5 name: "NoDevtoolsWarning",
6 description: "Disables the 'HOLD UP' banner in the console. As a side effect, also prevents Discord from hiding your token, which prevents random logouts.",
7 authors: [Devs.Ven],
8 tags: ["Developers", "Console"],
9 patches: [{
10 find: "setDevtoolsCallbacks",
11 replacement: {
12 match: /if\(null!=\i&&"0.0.0"===\i\.app\.getVersion\(\)\)/,
13 replace: "if(true)"
14 }
15 }]
16});
17