PluralKit/PluralKit.Bot/Handlers/ReactionAdded.cs

24 lines
505 B
C#
Raw Normal View History

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)
{
_proxy = proxy;
}
public Task Handle(MessageReactionAddEventArgs evt)
{
return _proxy.HandleReactionAddedAsync(evt);
}
}
}