mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Remove "a" keyword for pk;find
This commit is contained in:
parent
884d6e1925
commit
c6e813853a
1 changed files with 2 additions and 2 deletions
|
|
@ -113,8 +113,8 @@ namespace PluralKit.Bot
|
|||
if (system == null) throw Errors.NoSystemError;
|
||||
ctx.CheckSystemPrivacy(system, system.MemberListPrivacy);
|
||||
|
||||
var shouldShowLongList = ctx.Match("f", "full", "big", "details", "long");
|
||||
var canShowPrivate = ctx.Match("a", "all", "everyone", "private");
|
||||
var shouldShowLongList = ctx.Match("full", "big", "details", "long") || ctx.MatchFlag("f", "full");
|
||||
var canShowPrivate = ctx.Match("all", "everyone", "private") || ctx.MatchFlag("a", "all");
|
||||
|
||||
var searchTerm = ctx.RemainderOrNull() ?? throw new PKSyntaxError("You must specify a search term.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue