Fix setting proxies starting with text

This commit is contained in:
Ske 2020-03-05 00:07:42 +01:00
parent c5a91c4575
commit ab8b5e3786

View File

@ -43,7 +43,7 @@ namespace PluralKit.Bot
} }
// "Sub"command: clear flag // "Sub"command: clear flag
if (ctx.Match("clear", "purge", "clean", "removeall", "text") || ctx.MatchFlag("c", "clear")) if (ctx.Match("clear", "purge", "clean", "removeall") || ctx.MatchFlag("c", "clear"))
{ {
// If we already have multiple tags, this would clear everything, so prompt that // If we already have multiple tags, this would clear everything, so prompt that
if (target.ProxyTags.Count > 1) if (target.ProxyTags.Count > 1)