Skip to content

WelcomeScreen

Implementation of the Discord WelcomeScreen class in Luau

https://discord.com/developers/docs/resources/guild#welcome-screen-object

WelcomeScreen.welcomeChannels  :: WelcomeScreenChannel }

An array of welcome screen channel objects linked to the guild’s welcome screen. These channels are shown to new members when they join the guild.

WelcomeScreen.description  :: string?

The server description shown in the welcome screen. This description provides new members with information about the guild when they first join.

WelcomeScreen : sync ( welcomeScreenData )  -> ()

Responsible for syncing data to this welcome screen object. This is typically called by the API when this object is created or updated.

Parameters

welcomeScreenData: WelcomeScreenObject
WelcomeScreen . new ( welcomeScreenData )  -> WelcomeScreen

Responsible for constructing this class.

Parameters

welcomeScreenData: WelcomeScreenObject

Returns

WelcomeScreen