From cf56ad985b94e76f79348b8af45e648aa36ef144 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 28 Feb 2023 02:43:54 +0100 Subject: oop oop oop --- src/plugins/supportHelper.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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({ -- cgit