decord/source/modules/guild_automod/GuildAutomodActionActionCreators.native.tsx

54 lines
2.1 KiB
TypeScript
Raw Normal View History

// Module ID: 11892
// Function ID: 11893
// Name: GuildAutomodActionActionCreators
// Dependencies: [19, 11893, 21, 4777, 11897, 1896, 4919, 11900, 2]
2026-07-20 16:05:17 +00:00
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
// Module 11892 (GuildAutomodActionActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4777 */;
import actions_AlertActionCreatorsDefault from "actions/AlertActionCreators" /* 4919 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const Constants = fn(11893);
({ 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");
2026-07-20 16:05:17 +00:00
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 };
2026-07-20 16:05:17 +00:00
};
export const openSubmitFeedback = function openSubmitFeedback(messageId, content, decisionId, channel) {
const obj2 = {
2026-07-20 16:05:17 +00:00
onCloseModal() {
ModalActionCreatorsDefault.popWithKey(closure_1_4);
2026-07-20 16:05:17 +00:00
},
automodDecision: { messageId, messageContent: content, decisionId, channel }
2026-07-20 16:05:17 +00:00
};
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(11897, dependencyMap.paths), obj2, React4);
2026-07-20 16:05:17 +00:00
};
export function openRaidResolveModal() {
}
export function openConfirmRemoveMentionRaid() {
2026-07-20 16:05:17 +00:00
}
export const openAutomodProfileQuarantineAlert = function openAutomodProfileQuarantineAlert(guildId) {
2026-08-24 06:08:38 +00:00
closure_0 = guildId;
actions_AlertActionCreatorsDefault.openLazy({
2026-07-20 16:05:17 +00:00
importer() {
return asyncRequireImpl(11900, dependencyMap.paths).then((result) => {
closure_0 = result.default;
2026-07-20 16:05:17 +00:00
return (arg0) => {
const obj = {};
const merged = Object.assign(arg0);
obj.guildId = guildId;
return <closure_0 />;
2026-07-20 16:05:17 +00:00
};
});
}
});
2026-07-20 16:05:17 +00:00
};