mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
add: ModifyGuildWelcomeScreen type
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
import { SnakeCasedPropertiesDeep } from "../util.ts";
|
||||||
|
import { WelcomeScreenChannel } from "./welcome_screen_channel.ts";
|
||||||
|
|
||||||
|
export interface ModifyGuildWelcomeScreen {
|
||||||
|
/** Whether the welcome screen is enabled */
|
||||||
|
enabled?: boolean | null;
|
||||||
|
/** Channels linked in the welcome screen and their display options */
|
||||||
|
welcomeScreen?: WelcomeScreenChannel[] | null;
|
||||||
|
/** The server description to show in the welcome screen */
|
||||||
|
description?: string | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: add documentation link
|
||||||
|
export type DiscordModifyGuildWelcomeScreen = SnakeCasedPropertiesDeep<
|
||||||
|
ModifyGuildWelcomeScreen
|
||||||
|
>;
|
||||||
Reference in New Issue
Block a user