Skip to content

WelcomeScreenChannel

Implementation of the Discord WelcomeScreenChannel class in Luau

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

WelcomeScreenChannel.channelId  :: string

The id of the channel that is shown in the welcome screen

WelcomeScreenChannel.description  :: string

The description shown for the channel in the welcome screen

WelcomeScreenChannel.emojiId  :: string

The id of the emoji that is shown alongside the channel

WelcomeScreenChannel.emojiName  :: string

The name of the emoji that is shown alongside the channel

WelcomeScreenChannel : sync ( welcomeScreenData )  -> ()

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

Parameters

welcomeScreenData: WelcomeScreenChannelObject
WelcomeScreenChannel . new ( roleTagData )  -> WelcomeScreenChannel

Responsible for constructing this class.

Parameters

roleTagData: WelcomeScreenChannelObject

Returns

WelcomeScreenChannel