decord/beta/source/modules/links/isAccessibleNonStaticChannelPath.tsx
2026-10-07 22:43:51 +00:00

18 lines
697 B
TypeScript

// Module ID: 6818
// Function ID: 6819
// Name: isAccessibleNonStaticChannelPath
// Dependencies: [2104, 5044, 2]
// Exports: default
// Module 6818 (isAccessibleNonStaticChannelPath)
import LinkUtils from "LinkUtils" /* 5044 */;
import GatedChannelStore from "GatedChannelStore" /* 2104 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/links/isAccessibleNonStaticChannelPath.tsx");
export default function isAccessibleNonStaticChannelPath(guild_id) {
const obj = LinkUtils;
const canViewChannelResult = obj.canViewChannel(guild_id) || GatedChannelStore.isChannelGatedAndVisible(guild_id.guild_id, guild_id.id);
return canViewChannelResult;
};