Table of Contents

Method HandleChannelCreated

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleChannelCreated(Func<DiscordClient, ChannelCreatedEventArgs, Task>)

Fired when a new channel is created. For this event to fire you need the Guilds intent.

public EventHandlingBuilder HandleChannelCreated(Func<DiscordClient, ChannelCreatedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, ChannelCreatedEventArgs, Task>

Returns

EventHandlingBuilder