WelcomeScreenChannel
WelcomeScreenChannel ⇐ Base
Section titled “WelcomeScreenChannel ⇐ Base”Represents a welcome screen channel.
Kind: global class
Extends: Base
- WelcomeScreenChannel ⇐
Base- new WelcomeScreenChannel([data], guildId, client)
- .channel ⇒
Channel|null - .guild ⇒
new WelcomeScreenChannel([data], guildId, client)
Section titled “new WelcomeScreenChannel([data], guildId, client)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data object containing the properties for the instance. |
| guildId | string | The ID of the guild associated with the instance. |
| client | Client | The client object used to interact with the Discord API. |
welcomeScreenChannel.channel ⇒ Channel | null
Section titled “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 ⇒
Section titled “welcomeScreenChannel.guild ⇒”Get the guild object associated with this guildId.
Kind: instance property of WelcomeScreenChannel
Returns: The guild object.