Table of Contents

Interface IInviteCreateGatewayHandler

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

Sent when a new invite to a channel is created. Only sent if the bot has the ManageChannels permission for the relevant channel.

public interface IInviteCreateGatewayHandler : IGatewayHandler

Remarks


Required Intents: GuildInvites
Optional Intents: None

Methods

HandleAsync(Invite)

Handles the gateway event.

ValueTask HandleAsync(Invite arg)

Parameters

arg Invite

The event argument.

Returns

ValueTask