decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

27 lines
1.1 KiB
TypeScript

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