Skip to content

WelcomeScreenChannel

WelcomeScreenChannel ⇐ Base

Represents a welcome screen channel.

Kind: global class
Extends: Base

new WelcomeScreenChannel([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing the properties for the instance.
guildIdstringThe ID of the guild associated with the instance.
clientClientThe client object used to interact with the Discord API.

welcomeScreenChannel.channel ⇒ Channel | null

Retrieves the channel object associated with this instance.

Kind: instance property of WelcomeScreenChannel
Returns: Channel | null - The channel object, or null if it does not exist.

welcomeScreenChannel.guild ⇒

Get the guild object associated with this guildId.

Kind: instance property of WelcomeScreenChannel
Returns: The guild object.