fix MatchRaw commands one more time :/

This commit is contained in:
spiral 2021-09-13 02:33:34 -04:00
parent 2973325e12
commit b390c8ab62
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
3 changed files with 9 additions and 9 deletions

View File

@ -111,7 +111,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{target.DisplayName}\n```"); await ctx.Reply($"```\n{target.DisplayName}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (target.DisplayName == null) if (target.DisplayName == null)
await ctx.Reply(noDisplayNameSetMessage); await ctx.Reply(noDisplayNameSetMessage);
@ -168,7 +168,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{target.Description}\n```"); await ctx.Reply($"```\n{target.Description}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (target.Description == null) if (target.Description == null)
await ctx.Reply(noDescriptionSetMessage); await ctx.Reply(noDescriptionSetMessage);

View File

@ -75,7 +75,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{target.Description}\n```"); await ctx.Reply($"```\n{target.Description}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (target.Description == null) if (target.Description == null)
await ctx.Reply(noDescriptionSetMessage); await ctx.Reply(noDescriptionSetMessage);
@ -127,7 +127,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{target.Pronouns}\n```"); await ctx.Reply($"```\n{target.Pronouns}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (target.Pronouns == null) if (target.Pronouns == null)
await ctx.Reply(noPronounsSetMessage); await ctx.Reply(noPronounsSetMessage);
@ -363,7 +363,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{target.DisplayName}\n```"); await ctx.Reply($"```\n{target.DisplayName}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
var eb = await CreateMemberNameInfoEmbed(ctx, target); var eb = await CreateMemberNameInfoEmbed(ctx, target);
if (ctx.System?.Id == target.System) if (ctx.System?.Id == target.System)
@ -414,7 +414,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{memberGuildConfig.DisplayName}\n```"); await ctx.Reply($"```\n{memberGuildConfig.DisplayName}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
var eb = await CreateMemberNameInfoEmbed(ctx, target); var eb = await CreateMemberNameInfoEmbed(ctx, target);
if (ctx.System?.Id == target.System) if (ctx.System?.Id == target.System)

View File

@ -41,7 +41,7 @@ namespace PluralKit.Bot
await ctx.Reply(noNameSetMessage); await ctx.Reply(noNameSetMessage);
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (ctx.System.Name != null) if (ctx.System.Name != null)
await ctx.Reply($"Your system's name is currently **{ctx.System.Name}**. Type `pk;system name -clear` to clear it."); await ctx.Reply($"Your system's name is currently **{ctx.System.Name}**. Type `pk;system name -clear` to clear it.");
@ -85,7 +85,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{ctx.System.Description}\n```"); await ctx.Reply($"```\n{ctx.System.Description}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (ctx.System.Description == null) if (ctx.System.Description == null)
await ctx.Reply(noDescriptionSetMessage); await ctx.Reply(noDescriptionSetMessage);
@ -175,7 +175,7 @@ namespace PluralKit.Bot
await ctx.Reply($"```\n{ctx.System.Tag}\n```"); await ctx.Reply($"```\n{ctx.System.Tag}\n```");
return; return;
} }
if (!ctx.HasNext()) if (!ctx.HasNext(false))
{ {
if (ctx.System.Tag == null) if (ctx.System.Tag == null)
await ctx.Reply(noTagSetMessage); await ctx.Reply(noTagSetMessage);