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

58 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11080
// Function ID: 11081
2026-07-20 16:05:17 +00:00
// Name: getPromiseableActionHandlers
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 11081, 21, 5265, 11085, 2008, 4662, 11088, 2]
2026-07-20 16:05:17 +00:00
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
2026-08-24 06:08:38 +00:00
// Module 11080 (getPromiseableActionHandlers)
import noopAll from "noop" /* 19 */;
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
import _modDef4662 from "module_4662" /* 4662 */;
import _modDef5265 from "module_5265" /* 5265 */;
import AutomodEventType from "AutomodEventType" /* 11081 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ AutomodActionType: c3, SUBMIT_FEEDBACK_MODAL_KEY: c4 } = AutomodEventType);
2026-08-24 06:08:38 +00:00
const result = require("set").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-08-24 06:08:38 +00:00
let obj = _modDef5265;
2026-07-20 16:05:17 +00:00
obj = {
onCloseModal() {
2026-07-29 08:29:29 +00:00
callback(table[3]).popWithKey(closure_4);
2026-07-20 16:05:17 +00:00
},
automodDecision: obj
};
obj = { messageId, messageContent: content, decisionId, channel };
2026-08-24 06:08:38 +00:00
obj.pushLazy(asyncRequireImpl(11085, 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-08-24 06:08:38 +00:00
closure_0 = guildId;
let obj = _modDef4662;
2026-07-20 16:05:17 +00:00
obj = {
importer() {
2026-08-24 06:08:38 +00:00
return guildId(closure_1_2[5])(closure_1_2[7], closure_1_2.paths).then((arg0) => {
closure_0 = arg0.default;
2026-07-20 16:05:17 +00:00
return (arg0) => {
const obj = {};
const merged = Object.assign(arg0);
2026-07-29 08:29:29 +00:00
obj.guildId = closure_0;
2026-08-24 06:08:38 +00:00
return closure_2_5(closure_0, obj);
2026-07-20 16:05:17 +00:00
};
});
}
};
obj.openLazy(obj);
};