decord/source/modules/guild_antiraid/GuildReportRaidModalConstants.tsx
2026-08-05 07:35:12 +00:00

35 lines
1.8 KiB
TypeScript

// Module ID: 13191
// Function ID: 13192
// Name: COMMUNITY_PORTAL_SERVER_SAFETY_PAGE
// Dependencies: [1236, 2]
// Exports: getReportRaidTypeLabel
// Module 13191 (COMMUNITY_PORTAL_SERVER_SAFETY_PAGE)
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 = require("set").fileFinishedImporting("modules/guild_antiraid/GuildReportRaidModalConstants.tsx");
export const COMMUNITY_PORTAL_SERVER_SAFETY_PAGE = "https://discord.com/community/securing-your-server";
export const ReportRaidTypes = obj;
export const REPORT_RAID_OPTIONS = items;
export const getReportRaidTypeLabel = function getReportRaidTypeLabel(arg0) {
if (obj.DM_SPAM === arg0) {
const intl5 = require(1236) /* getSystemLocale */.intl;
return intl5.string(require(1236) /* getSystemLocale */.t["9CYNmS"]);
} else if (tmp.MENTION_SPAM === arg0) {
const intl4 = require(1236) /* getSystemLocale */.intl;
return intl4.string(require(1236) /* getSystemLocale */.t["hR/IdO"]);
} else if (tmp.MESSAGE_SPAM === arg0) {
const intl3 = require(1236) /* getSystemLocale */.intl;
return intl3.string(require(1236) /* getSystemLocale */.t.fwloj2);
} else if (tmp.SETTINGS_SPAM === arg0) {
const intl2 = require(1236) /* getSystemLocale */.intl;
return intl2.string(require(1236) /* getSystemLocale */.t.ETFVFw);
} else if (tmp.SUSPICIOUS_USERS === arg0) {
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t["lKXu+n"]);
} else {
return null;
}
};