Method HandleDmChannelDeleted
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleDmChannelDeleted(Func<DiscordClient, DmChannelDeletedEventArgs, Task>)
Fired when a DM channel is deleted. For this event to fire you need the DirectMessages intent.
public EventHandlingBuilder HandleDmChannelDeleted(Func<DiscordClient, DmChannelDeletedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, DmChannelDeletedEventArgs, Task>