Interface IEventHandler<TEventArgs>
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
Represents a base interface for an event handler.
public interface IEventHandler<TEventArgs> where TEventArgs : DiscordEventArgs
Type Parameters
TEventArgs
The type of event this handler is supposed to handle.
Methods
- HandleEventAsync(DiscordClient, TEventArgs)
Handles the provided event asynchronously.