mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-19 04:38:17 +00:00
11 lines
324 B
TypeScript
11 lines
324 B
TypeScript
import type { WelcomeScreen } from "../../types/guilds/welcomeScreen.ts";
|
|
import type { Bot } from "../../bot.ts";
|
|
|
|
export async function getWelcomeScreen(bot: Bot, guildId: bigint) {
|
|
return await bot.rest.runMethod<WelcomeScreen>(
|
|
bot.rest,
|
|
"get",
|
|
bot.constants.endpoints.GUILD_WELCOME_SCREEN(guildId)
|
|
);
|
|
}
|