Table of Contents

Interface IGuildUserAddShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a new user joins a guild. The inner payload is a GuildUser object with an extra guild_id key.

public interface IGuildUserAddShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildUsers*
Optional Intents: None

*Must also be enabled in the developer portal.

Methods

HandleAsync(GatewayClient, GuildUser)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildUser arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg GuildUser

The event argument.

Returns

ValueTask