Fix Proxied Messages Ignored
This commit is contained in:
parent
949dae6561
commit
ebaded4bbd
@ -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…
Reference in New Issue
Block a user