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
1/*
2 * FiveCord — a Discord client mod
3 * Copyright (c) 2025 FiveCord
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
7import { Devs } from "@utils/constants";
8import definePlugin from "@utils/types";
9
10export default definePlugin({
11 name: "NoDevtoolsWarning",
12 description: "Disables the 'HOLD UP' banner in the console. As a side effect, also prevents Discord from hiding your token, which prevents random logouts.",
13 authors: [Devs.Ven],
14 tags: ["Developers", "Console"],
15 patches: [{
16 find: "setDevtoolsCallbacks",
17 replacement: {
18 match: /if\(null!=\i&&"0.0.0"===\i\.app\.getVersion\(\)\)/,
19 replace: "if(true)"
20 }
21 }]
22});
23