mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
Add disabling front/latch autoproxy per-member
This commit is contained in:
parent
7f82a3e63a
commit
41247c68a6
11 changed files with 62 additions and 5 deletions
|
|
@ -62,7 +62,7 @@ namespace PluralKit.Bot
|
|||
_ => null
|
||||
};
|
||||
|
||||
if (member == null) return false;
|
||||
if (member == null || (ctx.AutoproxyMode != AutoproxyMode.Member && !member.AllowAutoproxy)) return false;
|
||||
match = new ProxyMatch
|
||||
{
|
||||
Content = messageContent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue