decord/source/modules/launchpad/native/isGuildSelectable.tsx

34 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15704
// Function ID: 121111
2026-07-20 16:05:17 +00:00
// Name: isGuildSelectable
2026-07-24 07:16:23 +00:00
// Dependencies: [1353, 4149, 6878, 4325, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 15704 (isGuildSelectable)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_1 from "_isNativeReflectConstruct";
import closure_2 from "_isNativeReflectConstruct";
import closure_3 from "_isNativeReflectConstruct";
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/launchpad/native/isGuildSelectable.tsx");
2026-07-20 16:05:17 +00:00
export default function isGuildSelectable(id) {
const stageInstancesByGuild = id;
let tmp = !muted.isMuted(id);
if (tmp) {
const tmp3 = !closure_2.hasUnread(id);
let tmp4 = !tmp3;
if (tmp3) {
const _Object = Object;
let someResult = Object.keys(stageInstancesByGuild.getStageInstancesByGuild(id)).length > 0;
if (!someResult) {
2026-07-23 10:11:24 +00:00
allApplicationStreams = allApplicationStreams.getAllApplicationStreams();
someResult = allApplicationStreams.some((guildId) => guildId.guildId === _isNativeReflectConstruct);
2026-07-20 16:05:17 +00:00
}
tmp4 = someResult;
}
tmp = tmp4;
}
return tmp;
};