decord/source/modules/app_channels/getAppChannelApplicationUnsupportedText.tsx

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 9734
// Function ID: 9735
2026-09-02 09:53:35 +00:00
// Name: getAppChannelApplicationUnsupportedText
2026-09-03 10:05:34 +00:00
// Dependencies: [9735, 1233, 2]
2026-09-02 09:53:35 +00:00
// Exports: default
2026-09-03 10:05:34 +00:00
// Module 9734 (getAppChannelApplicationUnsupportedText)
2026-09-02 09:53:35 +00:00
import set from "set" /* 2 */;
2026-09-03 10:05:34 +00:00
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9735 */;
2026-09-02 09:53:35 +00:00
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);
2026-09-03 10:05:34 +00:00
} else if (tmp(9735).GuildEmbeddedApplicationUnsupportedReason.SURFACE_NOT_SUPPORTED === reason) {
2026-09-02 09:53:35 +00:00
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);
}
}
};