mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Fix Proxied Messages Ignored
This commit is contained in:
parent
949dae6561
commit
ebaded4bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ namespace PluralKit.Bot
|
||||||
public async Task HandleMessageAsync(DiscordClient client, GuildConfig guild, CachedAccount account, DiscordMessage message, bool doAutoProxy)
|
public async Task HandleMessageAsync(DiscordClient client, GuildConfig guild, CachedAccount account, DiscordMessage message, bool doAutoProxy)
|
||||||
{
|
{
|
||||||
// Bail early if this isn't in a guild channel
|
// Bail early if this isn't in a guild channel
|
||||||
if (message.Channel.Guild != null) return;
|
if (message.Channel.Guild == null) return;
|
||||||
|
|
||||||
// Find a member with proxy tags matching the message
|
// Find a member with proxy tags matching the message
|
||||||
var match = GetProxyTagMatch(message.Content, account.System, account.Members);
|
var match = GetProxyTagMatch(message.Content, account.System, account.Members);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue