2020-05-01 23:52:52 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
using DSharpPlus.EventArgs;
|
|
|
|
|
|
|
|
using Sentry;
|
|
|
|
|
|
|
|
namespace PluralKit.Bot
|
|
|
|
{
|
|
|
|
public class ReactionAdded: IEventHandler<MessageReactionAddEventArgs>
|
|
|
|
{
|
|
|
|
private readonly ProxyService _proxy;
|
|
|
|
|
2020-05-02 14:00:43 +00:00
|
|
|
public ReactionAdded(ProxyService proxy)
|
2020-05-01 23:52:52 +00:00
|
|
|
{
|
|
|
|
_proxy = proxy;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Task Handle(MessageReactionAddEventArgs evt)
|
|
|
|
{
|
|
|
|
return _proxy.HandleReactionAddedAsync(evt);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|