diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-02-08 17:54:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 21:54:11 +0100 |
commit | 992a77e76cee25dd307a600f7c89d80b9b48f17f (patch) | |
tree | 5454ed44488fed736540338f4a89dcba36e051e1 /src/plugins/apiNotices.ts | |
parent | 291f38115c40c209c88ce509d5163375b34d04a9 (diff) | |
download | Vencord-992a77e76cee25dd307a600f7c89d80b9b48f17f.tar.gz Vencord-992a77e76cee25dd307a600f7c89d80b9b48f17f.tar.bz2 Vencord-992a77e76cee25dd307a600f7c89d80b9b48f17f.zip |
ShowHiddenChannels: Stage and voice channels support (#469)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/apiNotices.ts')
-rw-r--r-- | src/plugins/apiNotices.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/apiNotices.ts b/src/plugins/apiNotices.ts index c362f76..8922ace 100644 --- a/src/plugins/apiNotices.ts +++ b/src/plugins/apiNotices.ts @@ -34,8 +34,8 @@ export default definePlugin({ ";if(Vencord.Api.Notices.currentNotice)return false$&" }, { - match: /(?<=NOTICE_DISMISS:function.+?){(?=if\(null==(.+?)\))/, - replace: '{if($1?.id=="VencordNotice")return ($1=null,Vencord.Api.Notices.nextNotice(),true);' + match: /(?<=,NOTICE_DISMISS:function\(\i\){)(?=if\(null==(\i)\))/, + replace: 'if($1?.id=="VencordNotice")return($1=null,Vencord.Api.Notices.nextNotice(),true);' } ] } |