decord/source/modules/guild_antiraid/GuildReportRaidModalConstants.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

43 lines
1.8 KiB
TypeScript

// Module ID: 14018
// Function ID: 14019
// Name: GuildReportRaidModalConstants
// Dependencies: [1074, 2024, 1114, 2]
// Exports: getReportRaidHelpArticleURL, getReportRaidTypeLabel
// Module 14018 (GuildReportRaidModalConstants)
import Constants from "Constants" /* 1074 */;
import util from "util" /* 1114 */;
import HelpdeskUtilsDefault from "HelpdeskUtils" /* 2024 */;
import size from "module_2" /* 2 */;
const HelpdeskArticles = Constants.HelpdeskArticles;
const ReportRaidTypes = { DM_SPAM: "DM_SPAM", MESSAGE_SPAM: "MESSAGE_SPAM", MENTION_SPAM: "MENTION_SPAM", SUSPICIOUS_USERS: "SUSPICIOUS_USERS", SETTINGS_SPAM: "SETTINGS_SPAM" };
const items = [, , , , ];
({ MESSAGE_SPAM: arr[0], DM_SPAM: arr[1], MENTION_SPAM: arr[2], SUSPICIOUS_USERS: arr[3], SETTINGS_SPAM: arr[4] } = ReportRaidTypes);
const result = size.fileFinishedImporting("modules/guild_antiraid/GuildReportRaidModalConstants.tsx");
export const getReportRaidHelpArticleURL = function getReportRaidHelpArticleURL() {
return HelpdeskUtilsDefault.getArticleURL(HelpdeskArticles.GUILD_RAID);
};
export { ReportRaidTypes };
export const REPORT_RAID_OPTIONS = items;
export const getReportRaidTypeLabel = function getReportRaidTypeLabel(arg0) {
if (obj.DM_SPAM === arg0) {
const intl5 = util.intl;
return intl5.string(util.t["9CYNmS"]);
} else if (tmp.MENTION_SPAM === arg0) {
const intl4 = util.intl;
return intl4.string(util.t["hR/IdO"]);
} else if (tmp.MESSAGE_SPAM === arg0) {
const intl3 = util.intl;
return intl3.string(util.t.fwloj2);
} else if (tmp.SETTINGS_SPAM === arg0) {
const intl2 = util.intl;
return intl2.string(util.t.ETFVFw);
} else if (tmp.SUSPICIOUS_USERS === arg0) {
const intl = util.intl;
return intl.string(util.t["lKXu+n"]);
} else {
return null;
}
};