diff options
author | Vendicated <vendicated@riseup.net> | 2023-02-28 02:43:54 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-02-28 02:43:58 +0100 |
commit | cf56ad985b94e76f79348b8af45e648aa36ef144 (patch) | |
tree | b4b1dbeecd411b5f9a9dc230aea013da106e2aba | |
parent | c09d1558f7a2f707b365e2bd55ab70d79b093f18 (diff) | |
download | Vencord-cf56ad985b94e76f79348b8af45e648aa36ef144.tar.gz Vencord-cf56ad985b94e76f79348b8af45e648aa36ef144.tar.bz2 Vencord-cf56ad985b94e76f79348b8af45e648aa36ef144.zip |
oop oop oop
-rw-r--r-- | src/plugins/supportHelper.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/supportHelper.tsx b/src/plugins/supportHelper.tsx index 6cf2177..9eb2109 100644 --- a/src/plugins/supportHelper.tsx +++ b/src/plugins/supportHelper.tsx @@ -68,7 +68,9 @@ ${makeCodeblock(Object.keys(plugins).filter(Vencord.Plugins.isPluginEnabled).joi start() { FluxDispatcher.subscribe("CHANNEL_SELECT", async ({ channelId }) => { if (channelId !== SUPPORT_CHANNEL_ID) return; - if (UserStore.getCurrentUser().id in Devs) return; + + const myId = BigInt(UserStore.getCurrentUser().id); + if (Object.values(Devs).some(d => d.id === myId)) return; if (isOutdated && gitHash !== await DataStore.get(REMEMBER_DISMISS_KEY)) { Alerts.show({ |