mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
086c31c890
Co-authored-by: vee <vendicated@riseup.net>
23 lines
582 B
TypeScript
23 lines
582 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { Devs } from "@utils/constants";
|
|
import definePlugin from "@utils/types";
|
|
|
|
export default definePlugin({
|
|
name: "ShowAllRoles",
|
|
description: "Show all roles in new profiles.",
|
|
authors: [Devs.Luna],
|
|
patches: [
|
|
{
|
|
find: ".Messages.VIEW_ALL_ROLES",
|
|
replacement: {
|
|
match: /return null!=\i(?=\?\i\.slice)/,
|
|
replace: "return false"
|
|
}
|
|
}
|
|
]
|
|
});
|