2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 10438
|
|
|
|
|
// Function ID: 10439
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getStickerDiscoverableGuild
|
2026-09-10 05:38:07 +00:00
|
|
|
// Dependencies: [1074, 1272, 7355, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 10438 (getStickerDiscoverableGuild)
|
|
|
|
|
import Constants from "Constants" /* 1074 */;
|
|
|
|
|
import HTTPUtils from "HTTPUtils" /* 1272 */;
|
|
|
|
|
import GuildDiscoveryUtils from "GuildDiscoveryUtils" /* 7355 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const Endpoints = Constants.Endpoints;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/messages/getStickerDiscoverableGuild.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getStickerDiscoverableGuild(arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const HTTP = HTTPUtils.HTTP;
|
|
|
|
|
value = HTTP.get({ url: Endpoints.STICKER_GUILD_DATA(arg0), oldFormErrors: true, rejectWithError: true });
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = { url: Endpoints.STICKER_GUILD_DATA(arg0), oldFormErrors: true, rejectWithError: true };
|
2026-07-20 16:05:17 +00:00
|
|
|
return value.then((body) => {
|
|
|
|
|
body = undefined;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (body != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
body = body.body;
|
|
|
|
|
}
|
|
|
|
|
let discoverableGuild = null;
|
|
|
|
|
if (null != body) {
|
2026-09-10 05:38:07 +00:00
|
|
|
discoverableGuild = GuildDiscoveryUtils.makeDiscoverableGuild(body.body);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return discoverableGuild;
|
|
|
|
|
}).catch(() => null);
|
|
|
|
|
};
|