From 268eabb0479a3732fe484e63f9ab29411d0034a5 Mon Sep 17 00:00:00 2001 From: Ske Date: Thu, 13 Feb 2020 20:25:00 +0100 Subject: [PATCH] Properly target system find --- PluralKit.Bot/Commands/CommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index a2b8e8e2..b5336f29 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -216,7 +216,7 @@ namespace PluralKit.Bot else if (ctx.Match("list", "l", "members")) await ctx.Execute(SystemList, m => m.MemberList(ctx, target)); else if (ctx.Match("find", "search", "query", "fd", "s")) - await ctx.Execute(SystemFind, m => m.MemberFind(ctx, ctx.System)); + await ctx.Execute(SystemFind, m => m.MemberFind(ctx, target)); else if (ctx.Match("f", "front", "fronter", "fronters")) { if (ctx.Match("h", "history"))