2026-09-05 10:56:28 +00:00
|
|
|
// Module ID: 9747
|
|
|
|
|
// Function ID: 9748
|
2026-09-02 09:53:35 +00:00
|
|
|
// Name: getAppChannelApplicationUnsupportedText
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [9748, 1114, 2]
|
2026-09-02 09:53:35 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-05 10:56:28 +00:00
|
|
|
// Module 9747 (getAppChannelApplicationUnsupportedText)
|
2026-09-02 09:53:35 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9748 */;
|
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) {
|
2026-09-05 10:56:28 +00:00
|
|
|
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/"]);
|
2026-09-02 09:53:35 +00:00
|
|
|
} else {
|
2026-09-05 10:56:28 +00:00
|
|
|
const intl = tmp(1114).intl;
|
|
|
|
|
return intl.string(tmp(1114).t.GZa4J0);
|
2026-09-02 09:53:35 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|