decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
2026-09-03 10:05:34 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 9734
// Function ID: 9735
// Name: getAppChannelApplicationUnsupportedText
// Dependencies: [9735, 1233, 2]
// Exports: default
// Module 9734 (getAppChannelApplicationUnsupportedText)
import set from "set" /* 2 */;
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9735 */;
const result = set.fileFinishedImporting("modules/app_channels/getAppChannelApplicationUnsupportedText.tsx");
export default function getAppChannelApplicationUnsupportedText(supported) {
if (!supported.supported) {
const reason = supported.reason;
if (GuildEmbeddedApplicationUnsupportedReason.GuildEmbeddedApplicationUnsupportedReason.REQUIRES_BOT === reason) {
const intl3 = tmp(1233).intl;
return intl3.string(tmp(1233).t.V4y5nG);
} else if (tmp(9735).GuildEmbeddedApplicationUnsupportedReason.SURFACE_NOT_SUPPORTED === reason) {
const intl2 = tmp(1233).intl;
return intl2.string(tmp(1233).t["iUWcU/"]);
} else {
const intl = tmp(1233).intl;
return intl.string(tmp(1233).t.GZa4J0);
}
}
};