mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
Invalidate proxy cache when clearing proxy tags
This commit is contained in:
parent
eb5fe7d6a4
commit
bfafdbe2bf
1 changed files with 2 additions and 0 deletions
|
|
@ -163,6 +163,8 @@ namespace PluralKit.Bot.Commands
|
||||||
target.Suffix = null;
|
target.Suffix = null;
|
||||||
await _data.SaveMember(target);
|
await _data.SaveMember(target);
|
||||||
await ctx.Reply($"{Emojis.Success} Member proxy tags cleared.");
|
await ctx.Reply($"{Emojis.Success} Member proxy tags cleared.");
|
||||||
|
|
||||||
|
await _proxyCache.InvalidateResultsForSystem(ctx.System);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue