From 1290594211779a60b6c6b404d035f8a2b49d176b Mon Sep 17 00:00:00 2001 From: rladenson Date: Sun, 1 Aug 2021 21:56:04 -0600 Subject: [PATCH] Removed a duplicate line of code --- PluralKit.Bot/Commands/CommandTree.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index 19f31df2..254f602a 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -277,8 +277,6 @@ namespace PluralKit.Bot await PrintCommandList(ctx, "systems", SystemCommands); else if (ctx.Match("groups", "gs", "g")) await ctx.Execute(GroupList, g => g.ListSystemGroups(ctx, null)); - else if (!ctx.HasNext()) // Bare command - await ctx.Execute(SystemInfo, m => m.Query(ctx, ctx.System)); else await HandleSystemCommandTargeted(ctx); }