mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
fix: don't skip flags before MatchClear/MatchRaw
This commit is contained in:
parent
ae5451d901
commit
023d2577e5
3 changed files with 8 additions and 8 deletions
|
|
@ -66,7 +66,7 @@ namespace PluralKit.Bot
|
|||
if (!target.DescriptionPrivacy.CanAccess(ctx.LookupContextFor(target.System)))
|
||||
throw Errors.LookupNotAllowed;
|
||||
|
||||
if (!ctx.HasNext())
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
if (target.Description == null)
|
||||
await ctx.Reply(noDescriptionSetMessage);
|
||||
|
|
@ -118,7 +118,7 @@ namespace PluralKit.Bot
|
|||
if (!target.PronounPrivacy.CanAccess(ctx.LookupContextFor(target.System)))
|
||||
throw Errors.LookupNotAllowed;
|
||||
|
||||
if (!ctx.HasNext())
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
if (target.Pronouns == null)
|
||||
await ctx.Reply(noPronounsSetMessage);
|
||||
|
|
@ -354,7 +354,7 @@ namespace PluralKit.Bot
|
|||
|
||||
// No perms check, display name isn't covered by member privacy
|
||||
|
||||
if (!ctx.HasNext())
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
var eb = await CreateMemberNameInfoEmbed(ctx, target);
|
||||
if (ctx.System?.Id == target.System)
|
||||
|
|
@ -403,7 +403,7 @@ namespace PluralKit.Bot
|
|||
|
||||
// No perms check, display name isn't covered by member privacy
|
||||
|
||||
if (!ctx.HasNext())
|
||||
if (!ctx.HasNext(false))
|
||||
{
|
||||
var eb = await CreateMemberNameInfoEmbed(ctx, target);
|
||||
if (ctx.System?.Id == target.System)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue