decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

27 lines
1.1 KiB
TypeScript

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