decord/source/modules/guild_antiraid/GuildReportRaidModalConstants.tsx
2026-08-31 15:47:37 +00:00

43 lines
1.8 KiB
TypeScript

// Module ID: 13671
// Function ID: 13672
// Name: getReportRaidHelpArticleURL
// Dependencies: [676, 1995, 1236, 2]
// Exports: getReportRaidHelpArticleURL, getReportRaidTypeLabel
// Module 13671 (getReportRaidHelpArticleURL)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import combinedDefault from "combined" /* 1995 */;
const HelpdeskArticles = ME.HelpdeskArticles;
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);
const result = set.fileFinishedImporting("modules/guild_antiraid/GuildReportRaidModalConstants.tsx");
export const getReportRaidHelpArticleURL = function getReportRaidHelpArticleURL() {
return combinedDefault.getArticleURL(HelpdeskArticles.GUILD_RAID);
};
export const ReportRaidTypes = obj;
export const REPORT_RAID_OPTIONS = items;
export const getReportRaidTypeLabel = function getReportRaidTypeLabel(arg0) {
if (obj.DM_SPAM === arg0) {
const intl5 = getSystemLocale.intl;
return intl5.string(getSystemLocale.t["9CYNmS"]);
} else if (tmp.MENTION_SPAM === arg0) {
const intl4 = getSystemLocale.intl;
return intl4.string(getSystemLocale.t["hR/IdO"]);
} else if (tmp.MESSAGE_SPAM === arg0) {
const intl3 = getSystemLocale.intl;
return intl3.string(getSystemLocale.t.fwloj2);
} else if (tmp.SETTINGS_SPAM === arg0) {
const intl2 = getSystemLocale.intl;
return intl2.string(getSystemLocale.t.ETFVFw);
} else if (tmp.SUSPICIOUS_USERS === arg0) {
const intl = getSystemLocale.intl;
return intl.string(getSystemLocale.t["lKXu+n"]);
} else {
return null;
}
};