fix: missing returns for pk;s tag command

This commit is contained in:
spiral 2021-09-06 20:07:46 -04:00
parent b71e97a5e9
commit 95e0fcc36d
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -172,6 +172,7 @@ namespace PluralKit.Bot
await ctx.Reply(noTagSetMessage); await ctx.Reply(noTagSetMessage);
else else
await ctx.Reply($"Your current system tag is {ctx.System.Tag.AsCode()}. To change it, type `pk;s tag <tag>`. To clear it, type `pk;s tag -clear`."); await ctx.Reply($"Your current system tag is {ctx.System.Tag.AsCode()}. To change it, type `pk;s tag <tag>`. To clear it, type `pk;s tag -clear`.");
return;
} }
if (ctx.MatchRaw()) if (ctx.MatchRaw())
{ {
@ -179,6 +180,7 @@ namespace PluralKit.Bot
await ctx.Reply(noTagSetMessage); await ctx.Reply(noTagSetMessage);
else else
await ctx.Reply($"```\n{ctx.System.Tag}\n```"); await ctx.Reply($"```\n{ctx.System.Tag}\n```");
return;
} }
if (await ctx.MatchClear("your system's tag")) if (await ctx.MatchClear("your system's tag"))