decord/source/modules/guild_antiraid/GuildReportRaidModalConstants.tsx

44 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 13704
// Function ID: 13705
2026-08-25 06:04:03 +00:00
// Name: getReportRaidHelpArticleURL
2026-08-31 15:47:37 +00:00
// Dependencies: [676, 1995, 1236, 2]
2026-08-25 06:04:03 +00:00
// Exports: getReportRaidHelpArticleURL, getReportRaidTypeLabel
2026-07-20 16:05:17 +00:00
2026-09-01 10:26:29 +00:00
// Module 13704 (getReportRaidHelpArticleURL)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-08-25 06:04:03 +00:00
import ME from "ME" /* 676 */;
2026-08-24 06:08:38 +00:00
import getSystemLocale from "getSystemLocale" /* 1236 */;
2026-08-31 15:47:37 +00:00
import combinedDefault from "combined" /* 1995 */;
2026-08-24 06:08:38 +00:00
2026-08-25 06:04:03 +00:00
const HelpdeskArticles = ME.HelpdeskArticles;
2026-07-20 16:05:17 +00:00
const obj = { 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] } = obj);
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/guild_antiraid/GuildReportRaidModalConstants.tsx");
2026-07-20 16:05:17 +00:00
2026-08-25 06:04:03 +00:00
export const getReportRaidHelpArticleURL = function getReportRaidHelpArticleURL() {
return combinedDefault.getArticleURL(HelpdeskArticles.GUILD_RAID);
};
2026-07-20 16:05:17 +00:00
export const ReportRaidTypes = obj;
export const REPORT_RAID_OPTIONS = items;
export const getReportRaidTypeLabel = function getReportRaidTypeLabel(arg0) {
if (obj.DM_SPAM === arg0) {
2026-08-24 06:08:38 +00:00
const intl5 = getSystemLocale.intl;
return intl5.string(getSystemLocale.t["9CYNmS"]);
2026-07-29 08:29:29 +00:00
} else if (tmp.MENTION_SPAM === arg0) {
2026-08-24 06:08:38 +00:00
const intl4 = getSystemLocale.intl;
return intl4.string(getSystemLocale.t["hR/IdO"]);
2026-07-29 08:29:29 +00:00
} else if (tmp.MESSAGE_SPAM === arg0) {
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
return intl3.string(getSystemLocale.t.fwloj2);
2026-07-29 08:29:29 +00:00
} else if (tmp.SETTINGS_SPAM === arg0) {
2026-08-24 06:08:38 +00:00
const intl2 = getSystemLocale.intl;
return intl2.string(getSystemLocale.t.ETFVFw);
2026-07-29 08:29:29 +00:00
} else if (tmp.SUSPICIOUS_USERS === arg0) {
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
return intl.string(getSystemLocale.t["lKXu+n"]);
2026-07-20 16:05:17 +00:00
} else {
return null;
}
};