mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Disable autoproxy retriggering on edit
This commit is contained in:
parent
d0d3579b17
commit
dc10a8411a
2 changed files with 8 additions and 4 deletions
|
|
@ -317,7 +317,7 @@ namespace PluralKit.Bot
|
|||
// no data = no account = no system = no proxy!
|
||||
try
|
||||
{
|
||||
await _proxy.HandleMessageAsync(cachedGuild, cachedAccount, msg);
|
||||
await _proxy.HandleMessageAsync(cachedGuild, cachedAccount, msg, doAutoProxy: true);
|
||||
}
|
||||
catch (PKError e)
|
||||
{
|
||||
|
|
@ -420,7 +420,7 @@ namespace PluralKit.Bot
|
|||
var guild = await _cache.GetGuildDataCached(gc.GuildId);
|
||||
|
||||
// Just run the normal message handling stuff
|
||||
await _proxy.HandleMessageAsync(guild, account, newMessage);
|
||||
await _proxy.HandleMessageAsync(guild, account, newMessage, doAutoProxy: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue