Table of Contents

Method HandleGuildCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleGuildCreated(Func<DiscordClient, GuildCreatedEventArgs, Task>)

Fired when the user joins a new guild. For this event to fire you need the Guilds intent.

public EventHandlingBuilder HandleGuildCreated(Func<DiscordClient, GuildCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, GuildCreatedEventArgs, Task>

Returns

EventHandlingBuilder