Update tag change message with more information

This commit is contained in:
Ske 2019-11-03 13:37:36 +01:00
parent 520e6f140c
commit 03dd91ee9e

View File

@ -76,7 +76,7 @@ namespace PluralKit.Bot.Commands
throw Errors.SystemNameTooLongError(newTag.Length); throw Errors.SystemNameTooLongError(newTag.Length);
await _data.SaveSystem(ctx.System); await _data.SaveSystem(ctx.System);
await ctx.Reply($"{Emojis.Success} System tag {(newTag != null ? "changed" : "cleared")}."); await ctx.Reply($"{Emojis.Success} System tag {(newTag != null ? $"changed. Member names will now end with `{newTag.SanitizeMentions()}` when proxied." : "cleared")}.");
await _proxyCache.InvalidateResultsForSystem(ctx.System); await _proxyCache.InvalidateResultsForSystem(ctx.System);
} }