mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
24 lines
No EOL
505 B
C#
24 lines
No EOL
505 B
C#
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;
|
|
|
|
public ReactionAdded(ProxyService proxy)
|
|
{
|
|
_proxy = proxy;
|
|
}
|
|
|
|
public Task Handle(MessageReactionAddEventArgs evt)
|
|
{
|
|
return _proxy.HandleReactionAddedAsync(evt);
|
|
}
|
|
}
|
|
} |