Method HandleInviteCreated
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleInviteCreated(Func<DiscordClient, InviteCreatedEventArgs, Task>)
Fired when an invite is created. For this event to fire you need the GuildInvites intent.
public EventHandlingBuilder HandleInviteCreated(Func<DiscordClient, InviteCreatedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, InviteCreatedEventArgs, Task>