Interface IGuildThreadUsersUpdateShardedGatewayHandler
Sent when anyone is added to or removed from a thread.
public interface IGuildThreadUsersUpdateShardedGatewayHandler : IShardedGatewayHandler
Remarks
Required Intents: Guilds, GuildUsers*
Optional Intents:
- GuildUsers For receiving this event when other users are added / removed, otherwise this event will only fire for the bot's user.
*Must also be enabled in the developer portal.
Methods
HandleAsync(GatewayClient, GuildThreadUsersUpdateEventArgs)
Handles the gateway event.
ValueTask HandleAsync(GatewayClient client, GuildThreadUsersUpdateEventArgs arg)
Parameters
clientGatewayClientThe gateway client that represents the shard that received the event.
argGuildThreadUsersUpdateEventArgsThe event argument.