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

56 lines
2 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 10990
// Function ID: 85435
2026-07-20 16:05:17 +00:00
// Name: getPromiseableActionHandlers
2026-07-27 11:26:19 +00:00
// Dependencies: [31, 10991, 33, 4338, 10995, 1935, 4472, 10998, 2]
2026-07-20 16:05:17 +00:00
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
2026-07-27 11:26:19 +00:00
// Module 10990 (getPromiseableActionHandlers)
2026-07-23 10:11:24 +00:00
import "result";
import AutomodEventType from "AutomodEventType";
import { jsx } from "jsxProd";
let closure_3;
let closure_4;
const require = arg1;
({ AutomodActionType: closure_3, SUBMIT_FEEDBACK_MODAL_KEY: closure_4 } = AutomodEventType);
const result = require("jsxProd").fileFinishedImporting("modules/guild_automod/GuildAutomodActionActionCreators.native.tsx");
2026-07-20 16:05:17 +00:00
export const getPromiseableActionHandlers = function getPromiseableActionHandlers() {
return { [closure_3.BLOCK_MESSAGE]: null, [closure_3.FLAG_TO_CHANNEL]: null, [closure_3.USER_COMMUNICATION_DISABLED]: null };
};
export const openSubmitFeedback = function openSubmitFeedback(messageId, content, decisionId, channel) {
2026-07-25 08:10:48 +00:00
let obj = importDefault(4338);
2026-07-20 16:05:17 +00:00
obj = {
onCloseModal() {
2026-07-23 10:11:24 +00:00
outer1_1(outer1_2[3]).popWithKey(outer1_4);
2026-07-20 16:05:17 +00:00
},
automodDecision: obj
};
obj = { messageId, messageContent: content, decisionId, channel };
2026-07-27 11:26:19 +00:00
obj.pushLazy(require(1935) /* maybeLoadBundle */(10995, dependencyMap.paths), obj, closure_4);
2026-07-20 16:05:17 +00:00
};
export function openRaidResolveModal() {
}
export function openConfirmRemoveMentionRaid(arg0) {
}
export const openAutomodProfileQuarantineAlert = function openAutomodProfileQuarantineAlert(guildId) {
2026-07-23 10:11:24 +00:00
let closure_0 = guildId;
2026-07-25 08:10:48 +00:00
let obj = importDefault(4472);
2026-07-20 16:05:17 +00:00
obj = {
importer() {
2026-07-23 10:11:24 +00:00
return guildId(outer1_2[5])(outer1_2[7], outer1_2.paths).then((arg0) => {
2026-07-20 16:05:17 +00:00
let closure_0 = arg0.default;
return (arg0) => {
const obj = {};
const merged = Object.assign(arg0);
2026-07-23 10:11:24 +00:00
obj["guildId"] = outer2_0;
return outer3_5(closure_0, obj);
2026-07-20 16:05:17 +00:00
};
});
}
};
obj.openLazy(obj);
};