decord/source/modules/messages/getStickerDiscoverableGuild.tsx

29 lines
945 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 9614
// Function ID: 74886
2026-07-20 16:05:17 +00:00
// Name: getStickerDiscoverableGuild
// Dependencies: []
// Exports: default
2026-07-21 06:55:02 +00:00
// Module 9614 (getStickerDiscoverableGuild)
2026-07-20 16:05:17 +00:00
const Endpoints = require(dependencyMap[0]).Endpoints;
const _module = require(dependencyMap[3]);
const result = _module.fileFinishedImporting("modules/messages/getStickerDiscoverableGuild.tsx");
export default function getStickerDiscoverableGuild(arg0) {
const HTTP = require(dependencyMap[1]).HTTP;
2026-07-21 06:55:02 +00:00
const obj = { lc: null, type: null, end: null, url: Endpoints.STICKER_GUILD_DATA(arg0) };
2026-07-20 16:05:17 +00:00
const value = HTTP.get(obj);
return value.then((body) => {
body = undefined;
if (null != body) {
body = body.body;
}
let discoverableGuild = null;
if (null != body) {
discoverableGuild = callback(closure_1[2]).makeDiscoverableGuild(body.body);
const obj = callback(closure_1[2]);
}
return discoverableGuild;
}).catch(() => null);
};