mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Ignore bot reactions
This commit is contained in:
parent
68eeb858ec
commit
8df42f7d92
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue