diff options
Diffstat (limited to 'src/plugins/supportHelper.tsx')
-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({ |