Fix ShowHiddenThings feature & PauseInvitesForever

This commit is contained in:
Nuckyz 2024-08-13 01:50:17 -03:00
parent 1a712e75a6
commit 4301ed889d
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
2 changed files with 2 additions and 7 deletions

View file

@ -51,7 +51,7 @@ export default definePlugin({
},
},
{
find: "2022-07_invites_disabled",
find: "INVITES_DISABLED))||",
predicate: () => settings.store.showInvitesPaused,
replacement: {
match: /\i\.\i\.can\(\i\.\i.MANAGE_GUILD,\i\)/,