Properly target system find
This commit is contained in:
parent
a76d7a6777
commit
268eabb047
@ -216,7 +216,7 @@ namespace PluralKit.Bot
|
|||||||
else if (ctx.Match("list", "l", "members"))
|
else if (ctx.Match("list", "l", "members"))
|
||||||
await ctx.Execute<SystemList>(SystemList, m => m.MemberList(ctx, target));
|
await ctx.Execute<SystemList>(SystemList, m => m.MemberList(ctx, target));
|
||||||
else if (ctx.Match("find", "search", "query", "fd", "s"))
|
else if (ctx.Match("find", "search", "query", "fd", "s"))
|
||||||
await ctx.Execute<SystemList>(SystemFind, m => m.MemberFind(ctx, ctx.System));
|
await ctx.Execute<SystemList>(SystemFind, m => m.MemberFind(ctx, target));
|
||||||
else if (ctx.Match("f", "front", "fronter", "fronters"))
|
else if (ctx.Match("f", "front", "fronter", "fronters"))
|
||||||
{
|
{
|
||||||
if (ctx.Match("h", "history"))
|
if (ctx.Match("h", "history"))
|
||||||
|
Loading…
Reference in New Issue
Block a user