fourth chunk

This commit is contained in:
ITOH
2021-11-14 18:24:14 +01:00
parent 1d63a0fc61
commit ddd73b20f5
22 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import type { WelcomeScreen } from "../../types/guilds/welcome_screen.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)
);
}