onGuildCreate property
inherited
A Stream of UnavailableGuildCreateEvent
s received by this client.
This stream also emits GuildCreateEvents, as they are a subtype of UnavailableGuildCreateEvent
.
Implementation
Stream<UnavailableGuildCreateEvent> get onGuildCreate => onEvent.whereType<UnavailableGuildCreateEvent>();