decord/source/modules/messages/getStickerDiscoverableGuild.tsx

29 lines
1,006 B
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 10020
// Function ID: 10021
2026-07-20 16:05:17 +00:00
// Name: getStickerDiscoverableGuild
2026-08-13 07:00:46 +00:00
// Dependencies: [676, 530, 5999, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-13 07:00:46 +00:00
// Module 10020 (getStickerDiscoverableGuild)
2026-07-23 10:11:24 +00:00
import { Endpoints } from "ME";
const result = require("_startLurking").fileFinishedImporting("modules/messages/getStickerDiscoverableGuild.tsx");
2026-07-20 16:05:17 +00:00
export default function getStickerDiscoverableGuild(arg0) {
2026-07-29 08:29:29 +00:00
const HTTP = require(530) /* sendRequest */.HTTP;
const 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-07-29 08:29:29 +00:00
discoverableGuild = callback(table[2]).makeDiscoverableGuild(body.body);
const obj = callback(table[2]);
2026-07-20 16:05:17 +00:00
}
return discoverableGuild;
}).catch(() => null);
};