Invalidate proxy cache when clearing proxy tags

This commit is contained in:
Ske 2019-10-28 00:37:53 +01:00
parent eb5fe7d6a4
commit bfafdbe2bf

View File

@ -163,6 +163,8 @@ namespace PluralKit.Bot.Commands
target.Suffix = null;
await _data.SaveMember(target);
await ctx.Reply($"{Emojis.Success} Member proxy tags cleared.");
await _proxyCache.InvalidateResultsForSystem(ctx.System);
return;
}