mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 21:16:49 +00:00
13 lines
No EOL
247 B
C#
13 lines
No EOL
247 B
C#
using System.Threading.Tasks;
|
|
|
|
using Myriad.Gateway;
|
|
|
|
namespace PluralKit.Bot
|
|
{
|
|
public interface IEventHandler<in T> where T : IGatewayEvent
|
|
{
|
|
Task Handle(Shard shard, T evt);
|
|
|
|
ulong? ErrorChannelFor(T evt) => null;
|
|
}
|
|
} |