Properly handle setting empty proxy tags
This commit is contained in:
parent
8e1b3dfa98
commit
5caf040bbc
@ -201,7 +201,8 @@ namespace PluralKit.Bot.Commands
|
|||||||
}
|
}
|
||||||
|
|
||||||
// "Sub"command: no arguments clearing
|
// "Sub"command: no arguments clearing
|
||||||
if (!ctx.HasNext())
|
// Also matches the pseudo-subcommand "text" which is equivalent to emoty proxy tags on both sides.
|
||||||
|
if (!ctx.HasNext() || ctx.Match("text"))
|
||||||
{
|
{
|
||||||
// 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user