decord/source/actions/native/CreateGuildActionCreators.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

29 lines
1,016 B
TypeScript

// Module ID: 12837
// Function ID: 12838
// Name: CreateGuildActionCreators
// Dependencies: [2012, 1074, 9911, 2]
// Exports: showInstantInviteModal
// Module 12837 (CreateGuildActionCreators)
import GuildChannelStore from "GuildChannelStore" /* 2012 */;
const require = fn;
const InstantInviteSources = fn(1074).InstantInviteSources;
const size = fn(2);
let result = size.fileFinishedImporting("actions/native/CreateGuildActionCreators.tsx");
export const showInstantInviteModal = function showInstantInviteModal(arg0) {
closure_0 = arg0;
let result = GuildChannelStore.addConditionalChangeListener(() => {
defaultChannel = GuildChannelStore.getDefaultChannel(defaultChannel);
let flag = null == defaultChannel;
if (!flag) {
const _setImmediate = setImmediate;
setImmediate(() => {
const result = defaultChannel(dependencyMap[2]).showInstantInviteActionSheet(defaultChannel, { source: constants.GUILD_CREATE });
});
flag = false;
}
return flag;
});
};