Remove "remove" keyword from MatchClear (#199)

This commit is contained in:
kittens 2020-07-22 10:26:43 -04:00 committed by GitHub
parent 94076dc9be
commit 467d058565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ namespace PluralKit.Bot
} }
public static bool MatchClear(this Context ctx) => public static bool MatchClear(this Context ctx) =>
ctx.Match("clear", "remove", "reset") || ctx.MatchFlag("c", "clear"); ctx.Match("clear", "reset") || ctx.MatchFlag("c", "clear");
public static async Task<List<PKMember>> ParseMemberList(this Context ctx, SystemId? restrictToSystem) public static async Task<List<PKMember>> ParseMemberList(this Context ctx, SystemId? restrictToSystem)
{ {
@ -85,4 +85,4 @@ namespace PluralKit.Bot
return members; return members;
} }
} }
} }