mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Update to D#+ 4.0.0-rc1
This commit is contained in:
parent
90b2fcfdd4
commit
634173e205
14 changed files with 73 additions and 87 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Threading.Tasks;
|
||||
|
||||
using DSharpPlus;
|
||||
using DSharpPlus.Entities;
|
||||
using DSharpPlus.EventArgs;
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
public interface IEventHandler<in T> where T: DiscordEventArgs
|
||||
{
|
||||
Task Handle(T evt);
|
||||
Task Handle(DiscordClient shard, T evt);
|
||||
|
||||
DiscordChannel ErrorChannelFor(T evt) => null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue