Skip to content

GuildScheduledEventUser

GuildScheduledEventUser ⇐ Base

Represents a user associated with a scheduled event in a guild.

Kind: global class
Extends: Base

new GuildScheduledEventUser([data], guildId, eventId, client)

Constructs a new instance of the Event class.

ParamTypeDescription
[data]ObjectThe data object containing information about the user.
guildIdstringThe ID of the guild the user belongs to.
eventIdstringThe ID of the scheduled event the user is associated with.
clientClientThe client instance.

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

Retrieves the scheduled event associated with the guild.

Kind: instance property of GuildScheduledEventUser
Returns: ScheduledEvent | null - The scheduled event object if found, otherwise null.