oop oop oop
This commit is contained in:
parent
c09d1558f7
commit
cf56ad985b
@ -68,7 +68,9 @@ ${makeCodeblock(Object.keys(plugins).filter(Vencord.Plugins.isPluginEnabled).joi
|
|||||||
start() {
|
start() {
|
||||||
FluxDispatcher.subscribe("CHANNEL_SELECT", async ({ channelId }) => {
|
FluxDispatcher.subscribe("CHANNEL_SELECT", async ({ channelId }) => {
|
||||||
if (channelId !== SUPPORT_CHANNEL_ID) return;
|
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)) {
|
if (isOutdated && gitHash !== await DataStore.get(REMEMBER_DISMISS_KEY)) {
|
||||||
Alerts.show({
|
Alerts.show({
|
||||||
|
Loading…
Reference in New Issue
Block a user