decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 9747
// Function ID: 9748
// Name: getAppChannelApplicationUnsupportedText
// Dependencies: [9748, 1114, 2]
// Exports: default
// Module 9747 (getAppChannelApplicationUnsupportedText)
import set from "set" /* 2 */;
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9748 */;
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(1114).intl;
return intl3.string(tmp(1114).t.V4y5nG);
} else if (tmp(9748).GuildEmbeddedApplicationUnsupportedReason.SURFACE_NOT_SUPPORTED === reason) {
const intl2 = tmp(1114).intl;
return intl2.string(tmp(1114).t["iUWcU/"]);
} else {
const intl = tmp(1114).intl;
return intl.string(tmp(1114).t.GZa4J0);
}
}
};