decord/source/modules/guild_settings/GuildSettingsConstants.tsx

53 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16370
// Function ID: 127577
2026-07-20 16:05:17 +00:00
// Name: MAX_SUBCATEGORIES
2026-07-23 10:11:24 +00:00
// Dependencies: [1212, 2]
2026-07-20 16:05:17 +00:00
// Exports: getSettingsErrorMessage
2026-07-27 11:26:19 +00:00
// Module 16370 (MAX_SUBCATEGORIES)
2026-07-20 16:05:17 +00:00
const obj = {
afk_channel_id() {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
return intl.string(require(1212) /* getSystemLocale */.t.KuYcnU);
2026-07-20 16:05:17 +00:00
},
public_updates_channel_id() {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
return intl.string(require(1212) /* getSystemLocale */.t.vAyDGU);
2026-07-20 16:05:17 +00:00
},
safety_alerts_channel_id() {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
return intl.string(require(1212) /* getSystemLocale */.t.sMkYE8);
2026-07-20 16:05:17 +00:00
},
system_channel_id() {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
return intl.string(require(1212) /* getSystemLocale */.t.NASFnq);
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/guild_settings/GuildSettingsConstants.tsx");
2026-07-20 16:05:17 +00:00
export const MAX_SUBCATEGORIES = 5;
export const MAX_KEYWORDS = 10;
export const MAX_KEYWORD_LENGTH = 30;
export const GuildSettingsRoleEditSections = { DISPLAY: 0, [0]: "DISPLAY", PERMISSIONS: 1, [1]: "PERMISSIONS", MEMBERS: 2, [2]: "MEMBERS", VERIFICATIONS: 3, [3]: "VERIFICATIONS" };
export const ERROR_KEY_TO_LABEL_FUNC = obj;
export const getSettingsErrorMessage = function getSettingsErrorMessage(arg0) {
if (0 === Object.keys(arg0).length) {
return null;
} else {
const _Object = Object;
const first = Object.keys(arg0)[0];
let callResult;
if (null != obj[first]) {
callResult = obj.call(obj);
}
if (null != callResult) {
const _HermesInternal = HermesInternal;
let combined = "(" + callResult + ") " + arg0[first];
} else {
combined = arg0[first];
}
return combined;
}
};
export const VANITY_URL_INVITE_ENDPOINT = "https://discord.gg";