Initial commit, basic proxying working
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using DSharpPlus;
|
||||
using DSharpPlus.Entities;
|
||||
using DSharpPlus.EventArgs;
|
||||
using Myriad.Gateway;
|
||||
|
||||
namespace PluralKit.Bot
|
||||
{
|
||||
public interface IEventHandler<in T> where T: DiscordEventArgs
|
||||
public interface IEventHandler<in T> where T: IGatewayEvent
|
||||
{
|
||||
Task Handle(DiscordClient shard, T evt);
|
||||
Task Handle(Shard shard, T evt);
|
||||
|
||||
DiscordChannel ErrorChannelFor(T evt) => null;
|
||||
ulong? ErrorChannelFor(T evt) => null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user