mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: upgrade to .NET 6, refactor everything
This commit is contained in:
parent
d28e99ba43
commit
1918c56937
314 changed files with 27954 additions and 27966 deletions
|
|
@ -1,13 +1,10 @@
|
|||
using System.Threading.Tasks;
|
||||
|
||||
using Myriad.Gateway;
|
||||
|
||||
namespace PluralKit.Bot
|
||||
{
|
||||
public interface IEventHandler<in T> where T : IGatewayEvent
|
||||
{
|
||||
Task Handle(Shard shard, T evt);
|
||||
namespace PluralKit.Bot;
|
||||
|
||||
ulong? ErrorChannelFor(T evt) => null;
|
||||
}
|
||||
public interface IEventHandler<in T> where T : IGatewayEvent
|
||||
{
|
||||
Task Handle(Shard shard, T evt);
|
||||
|
||||
ulong? ErrorChannelFor(T evt) => null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue