Files
equicord-plugins/trustMeBro.ts
2025-12-27 17:16:20 +02:00

21 lines
763 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* Vencord, a Discord client mod
* Copyright (c) 2025 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import definePlugin from "@utils/types";
export default definePlugin({
name: "TrustMeBro",
description: "Bypasses Discords age verification required under the UK Online Safety Act.",
authors: [{ name: "Menhera.st Team", id: 1325012503419420734n }],
start() {
const modules = Object.values((window as any).webpackChunkdiscord_app.push([[Symbol()], {}, (r: any) => r.c])) as any[];
const userStore = modules.find((x: any) => x?.exports?.default?.getCurrentUser);
const currentUser = userStore.exports.default.getCurrentUser();
currentUser.ageVerificationStatus = 3;
}
});