decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
2026-09-02 09:53:35 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 9730
// Function ID: 9731
// Name: getAppChannelApplicationUnsupportedText
// Dependencies: [9731, 1233, 2]
// Exports: default
// Module 9730 (getAppChannelApplicationUnsupportedText)
import set from "set" /* 2 */;
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9731 */;
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(9731).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);
}
}
};