decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

27 lines
1.1 KiB
TypeScript

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