GuildScheduledEventUser
GuildScheduledEventUser ⇐ Base
Section titled “GuildScheduledEventUser ⇐ Base”Represents a user associated with a scheduled event in a guild.
Kind: global class
Extends: Base
- GuildScheduledEventUser ⇐
Base- new GuildScheduledEventUser([data], guildId, eventId, client)
- .guild ⇒
- .guildScheduledEvent ⇒
ScheduledEvent|null
new GuildScheduledEventUser([data], guildId, eventId, client)
Section titled “new GuildScheduledEventUser([data], guildId, eventId, client)”Constructs a new instance of the Event class.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data object containing information about the user. |
| guildId | string | The ID of the guild the user belongs to. |
| eventId | string | The ID of the scheduled event the user is associated with. |
| client | Client | The client instance. |
guildScheduledEventUser.guild ⇒
Section titled “guildScheduledEventUser.guild ⇒”Retrieves the guild associated with this guildId.
Kind: instance property of GuildScheduledEventUser
Returns: The guild object if found, otherwise null.
guildScheduledEventUser.guildScheduledEvent ⇒ ScheduledEvent | null
Section titled “guildScheduledEventUser.guildScheduledEvent ⇒ ScheduledEvent | null”Retrieves the scheduled event associated with the guild.
Kind: instance property of GuildScheduledEventUser
Returns: ScheduledEvent | null - The scheduled event object if found, otherwise null.