Ignore bot reactions
This commit is contained in:
parent
68eeb858ec
commit
8df42f7d92
@ -30,6 +30,9 @@ namespace PluralKit.Bot
|
|||||||
// Only proxies in guild text channels
|
// Only proxies in guild text channels
|
||||||
if (evt.Channel.Type != ChannelType.Text) return;
|
if (evt.Channel.Type != ChannelType.Text) return;
|
||||||
|
|
||||||
|
// Ignore reactions from bots (we can't DM them anyway)
|
||||||
|
if (evt.User.IsBot) return;
|
||||||
|
|
||||||
FullMessage msg;
|
FullMessage msg;
|
||||||
switch (evt.Emoji.Name)
|
switch (evt.Emoji.Name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user