add: CleanUserArea (#477)
* add: CleanUserArea * CleanUserArea: minor changes
This commit is contained in:
parent
3289fcdeb5
commit
ba7b42ad5f
2 changed files with 27 additions and 0 deletions
23
src/equicordplugins/cleanUserArea/index.ts
Normal file
23
src/equicordplugins/cleanUserArea/index.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2025 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
|
||||
export default definePlugin({
|
||||
name: "CleanUserArea",
|
||||
description: "Hide nameplate in the user area",
|
||||
authors: [EquicordDevs.Prism],
|
||||
patches: [
|
||||
{
|
||||
find: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}",
|
||||
replacement: {
|
||||
match: /nameplate:\i,hovered/,
|
||||
replace: "nameplate:null,hovered",
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
|
@ -1182,6 +1182,10 @@ export const EquicordDevs = Object.freeze({
|
|||
name: "Vei",
|
||||
id: 239414094799699968n
|
||||
},
|
||||
Prism: {
|
||||
name: "Prism",
|
||||
id: 390884143749136386n
|
||||
},
|
||||
} satisfies Record<string, Dev>);
|
||||
|
||||
// iife so #__PURE__ works correctly
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue