mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Ignore bot reactions
This commit is contained in:
parent
68eeb858ec
commit
8df42f7d92
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ namespace PluralKit.Bot
|
|||
{
|
||||
// Only proxies in guild text channels
|
||||
if (evt.Channel.Type != ChannelType.Text) return;
|
||||
|
||||
// Ignore reactions from bots (we can't DM them anyway)
|
||||
if (evt.User.IsBot) return;
|
||||
|
||||
FullMessage msg;
|
||||
switch (evt.Emoji.Name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue