decord/source/modules/guild_automod/GuildAutomodActionActionCreators.native.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

53 lines
2.1 KiB
TypeScript

// Module ID: 11992
// Function ID: 11993
// Name: GuildAutomodActionActionCreators
// Dependencies: [19, 11993, 21, 4839, 11997, 1896, 4981, 12000, 2]
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
// Module 11992 (GuildAutomodActionActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4839 */;
import actions_AlertActionCreatorsDefault from "actions/AlertActionCreators" /* 4981 */;
import noop from "module_19" /* 19 */;
require = fn;
const Constants = fn(11993);
({ AutomodActionType: c3, SUBMIT_FEEDBACK_MODAL_KEY: closure_4 } = Constants);
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/guild_automod/GuildAutomodActionActionCreators.native.tsx");
export const getPromiseableActionHandlers = function getPromiseableActionHandlers() {
return { [closure_1_3.BLOCK_MESSAGE]: null, [closure_1_3.FLAG_TO_CHANNEL]: null, [closure_1_3.USER_COMMUNICATION_DISABLED]: null };
};
export const openSubmitFeedback = function openSubmitFeedback(messageId, content, decisionId, channel) {
const obj2 = {
onCloseModal() {
ModalActionCreatorsDefault.popWithKey(closure_1_4);
},
automodDecision: { messageId, messageContent: content, decisionId, channel }
};
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(11997, dependencyMap.paths), obj2, React4);
};
export function openRaidResolveModal() {
}
export function openConfirmRemoveMentionRaid() {
}
export const openAutomodProfileQuarantineAlert = function openAutomodProfileQuarantineAlert(guildId) {
closure_0 = guildId;
actions_AlertActionCreatorsDefault.openLazy({
importer() {
return asyncRequireImpl(12000, dependencyMap.paths).then((result) => {
closure_0 = result.default;
return (arg0) => {
const obj = {};
const merged = Object.assign(arg0);
obj.guildId = guildId;
return <closure_0 />;
};
});
}
});
};