WelcomeScreenChannel
Implementation of discords WelcomeScreenChannel object as a Luau builder.
Summary
Properties
WelcomeScreenChannel.channelId :: string?WelcomeScreenChannel.description :: stringWelcomeScreenChannel.emojiId :: string?WelcomeScreenChannel.emojiName :: string?Methods
WelcomeScreenChannel:setChannelId(channelId: apiTypes.Snowflake) → WelcomeScreenChannelWelcomeScreenChannel:setDescription(description: string) → WelcomeScreenChannelWelcomeScreenChannel:setEmojiId(emojiId: apiTypes.Snowflake) → WelcomeScreenChannelWelcomeScreenChannel:setEmojiName(emojiName: string) → WelcomeScreenChannelWelcomeScreenChannel:build() → JSONProperties
Section titled “Properties”channelId
Section titled “channelId”The id of the channel shown in the welcome screen.
description
Section titled “description”The description shown for the channel in the welcome screen.
emojiId
Section titled “emojiId”The id of the emoji shown in the welcome screen channel.
emojiName
Section titled “emojiName”The name of the emoji shown in the welcome screen channel.
Methods
Section titled “Methods”setChannelId
Section titled “setChannelId”WelcomeScreenChannel : setChannelId ( channelId ) -> WelcomeScreenChannel
Set the channel id for this welcome screen channel
Parameters
| channelId: Snowflake |
Returns
| WelcomeScreenChannel |
setDescription
Section titled “setDescription”WelcomeScreenChannel : setDescription ( description ) -> WelcomeScreenChannel
Set the description for this welcome screen channel
Parameters
| description: string |
Returns
| WelcomeScreenChannel |
setEmojiId
Section titled “setEmojiId”WelcomeScreenChannel : setEmojiId ( emojiId ) -> WelcomeScreenChannel
Set the emoji id for this welcome screen channel
Parameters
| emojiId: Snowflake |
Returns
| WelcomeScreenChannel |
setEmojiName
Section titled “setEmojiName”WelcomeScreenChannel : setEmojiName ( emojiName ) -> WelcomeScreenChannel
Set the emoji name for this welcome screen channel
Parameters
| emojiName: string |
Returns
| WelcomeScreenChannel |
WelcomeScreenChannel : build ( ) -> JSON
Responsible for building the WelcomeScreenChannelObject JSON that can be parsed by the Discord API.
Returns
| JSON |
Functions
Section titled “Functions”WelcomeScreenChannel . new ( resource ) -> WelcomeScreenChannel
Responsible for creating a new WelcomeScreenChannel.
Parameters
| resource: { channelId: apiTypes.Snowflake?, description: string?, emojiId: apiTypes.Snowflake?, emojiName: string?, } |
Returns
| WelcomeScreenChannel |