Method HandleMessageDeleted
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleMessageDeleted(Func<DiscordClient, MessageDeletedEventArgs, Task>)
Fired when a message is deleted. For this event to fire you need the GuildMessages or DirectMessages intent.
public EventHandlingBuilder HandleMessageDeleted(Func<DiscordClient, MessageDeletedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, MessageDeletedEventArgs, Task>