Interface IGuildCreateGatewayHandler
This event can be sent in three different scenarios (During an outage, the Guild object in scenarios 1 and 3 may be marked as unavailable):
- To lazily load and backfill information for all unavailable guilds sent in the Ready event. Guilds unavailable due to an outage will send a GuildDelete event.
- When a guild becomes available again to the client.
- When the current user joins a new guild.
public interface IGuildCreateGatewayHandler : IGatewayHandler
Remarks
The inner payload can be a Guild object with extra fields, or an unavailable Guild object. If the guild has over 75k users, users and presences returned in this event will only contain your bot and users in voice channels.
Required Intents: Guilds
Optional Intents:
- GuildPresences For receiving users and presences other than the bot's user and users in voice channels (Same as the 75k limit).
Methods
HandleAsync(GuildCreateEventArgs)
ValueTask HandleAsync(GuildCreateEventArgs arg)