oop oop oop

This commit is contained in:
Vendicated 2023-02-28 02:43:54 +01:00
parent c09d1558f7
commit cf56ad985b
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -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({