mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Initial commit, basic proxying working
This commit is contained in:
parent
c3f6becea4
commit
a6fbd869be
109 changed files with 3539 additions and 359 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue