Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
// Module ID: 9817
|
|
// Function ID: 9818
|
|
// Name: getAppChannelApplicationUnsupportedText
|
|
// Dependencies: [9818, 1114, 2]
|
|
// Exports: default
|
|
|
|
// Module 9817 (getAppChannelApplicationUnsupportedText)
|
|
import GuildEmbeddedApplicationUnsupportedReason from "GuildEmbeddedApplicationUnsupportedReason" /* 9818 */;
|
|
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(1114).intl;
|
|
return intl3.string(tmp(1114).t.V4y5nG);
|
|
} else if (tmp(9818).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);
|
|
}
|
|
}
|
|
};
|