Skip to content

WelcomeScreenChannel

Implementation of discords WelcomeScreenChannel object as a Luau builder.

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

Properties

The WelcomeScreenChannel instance has no set properties!

Methods

The WelcomeScreenChannel instance has no set methods!

Functions

setChannelId

WelcomeScreenChannel . setChannelId (

     self: WelcomeScreenChannel
     channelId: apiTypes.Snowflake
)  -> ()

Set the channel id for this welcome screen channel

setDescription

WelcomeScreenChannel . setDescription (

     self: WelcomeScreenChannel
     description: string
)  -> ()

Set the description for this welcome screen channel

setEmojiId

WelcomeScreenChannel . setEmojiId (

     self: WelcomeScreenChannel
     emojiId: apiTypes.Snowflake
)  -> ()

Set the emoji id for this welcome screen channel

setEmojiName

WelcomeScreenChannel . setEmojiName (

     self: WelcomeScreenChannel
     emojiName: string
)  -> ()

Set the emoji name for this welcome screen channel

build

WelcomeScreenChannel . build (

     self: WelcomeScreenChannel
)  -> ()

Responsible for building the WelcomeScreenChannelObject JSON that can be parsed by the Discord API.

new

WelcomeScreenChannel . new (

     resource: {
       channelId: apiTypes.Snowflake?,
       description: string?,
       emojiId: apiTypes.Snowflake?,
       emojiName: string?,
    }
)  -> ()

Responsible for creating a new WelcomeScreenChannel.