GuildCreateEvent class
Emitted when a client is added to a guild or when initially receiving guilds over the Gateway.
- Inheritance
-
- Object
- GatewayEvent
- DispatchEvent
- GuildCreateEvent
- Implemented types
Properties
-
channels
→ List<
GuildChannel> -
A list of channels in the guild.
final
- gateway → Gateway
-
The gateway that handled this event.
finalinherited
- guild → Guild
-
The guild the client was added to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLarge → bool
-
Whether the guild is large.
final
- joinedAt → DateTime
-
The time at which the client joined the guild.
final
- memberCount → int
-
The number of members in the guild.
final
-
members
→ List<
Member> -
A list of members in the guild.
final
- opcode → Opcode
-
The opcode of this event.
finalinherited
-
presences
→ List<
PresenceUpdateEvent> -
A list of initial presence update events in the guild.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scheduledEvents
→ List<
ScheduledEvent> -
A list of scheduled events in the guild.
final
-
stageInstances
→ List<
StageInstance> -
A list of stage instances in the guild.
final
-
threads
→ List<
Thread> -
A list of threads in the guild.
final
-
voiceStates
→ List<
VoiceState> -
A list of the
VoiceState
s of members currently in voice channels.final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited