Files
discord-decomp/modules/guild_antiraid/GuildReportRaidModalConstants.tsx
T
2026-11-01 12:12:55 +02:00

32 lines
1014 B
TypeScript

// Metro module 13103 (f13104).
import { intl, t } from "../../intl/index.native";
let c9060_2 = {
DM_SPAM: "DM_SPAM",
MESSAGE_SPAM: "MESSAGE_SPAM",
MENTION_SPAM: "MENTION_SPAM",
SUSPICIOUS_USERS: "SUSPICIOUS_USERS",
SETTINGS_SPAM: "SETTINGS_SPAM"
};
const r18 = [c9060_2.MESSAGE_SPAM, c9060_2.DM_SPAM, c9060_2.MENTION_SPAM, c9060_2.SUSPICIOUS_USERS, c9060_2.SETTINGS_SPAM];
export const COMMUNITY_PORTAL_SERVER_SAFETY_PAGE = "https://discord.com/community/securing-your-server";
export { c9060_2 as ReportRaidTypes };
export { r18 as REPORT_RAID_OPTIONS };
export function getReportRaidTypeLabel(a0) {
if (c9060_2.DM_SPAM === a0) {
return intl.string(t["9CYNmS"]);
}
if (c9060_2.MENTION_SPAM === a0) {
return intl.string(t["hR/IdO"]);
}
if (c9060_2.MESSAGE_SPAM === a0) {
return intl.string(t.fwloj2);
}
if (c9060_2.SETTINGS_SPAM === a0) {
return intl.string(t.ETFVFw);
}
if (c9060_2.SUSPICIOUS_USERS === a0) {
return intl.string(t["lKXu+n"]);
}
return null;
}