decord/source/modules/private_channel_creation/maybeConvertPrivateChannel.tsx
2026-08-08 06:10:11 +00:00

25 lines
878 B
TypeScript

// Module ID: 7214
// Function ID: 7215
// Name: maybeConvertPrivateChannel
// Dependencies: [1372, 5843, 4313, 2]
// Exports: default
// Module 7214 (maybeConvertPrivateChannel)
import ensureGuildLoaded from "ensureGuildLoaded";
const require = arg1;
const result = require("module_4313").fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx");
export default function maybeConvertPrivateChannel(arg0) {
if (arg0 !== require(5843) /* FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID */.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
return null;
} else {
channel = channel.getChannel(arg0);
let ensurePrivateChannelResult = null;
if (null != channel) {
ensurePrivateChannelResult = importDefault(4313).ensurePrivateChannel(channel.recipients);
const obj = importDefault(4313);
}
return ensurePrivateChannelResult;
}
};