Removed a duplicate line of code

This commit is contained in:
rladenson 2021-08-01 21:56:04 -06:00 committed by spiral
parent ebf6933440
commit 1290594211

View File

@ -277,8 +277,6 @@ namespace PluralKit.Bot
await PrintCommandList(ctx, "systems", SystemCommands); await PrintCommandList(ctx, "systems", SystemCommands);
else if (ctx.Match("groups", "gs", "g")) else if (ctx.Match("groups", "gs", "g"))
await ctx.Execute<Groups>(GroupList, g => g.ListSystemGroups(ctx, null)); await ctx.Execute<Groups>(GroupList, g => g.ListSystemGroups(ctx, null));
else if (!ctx.HasNext()) // Bare command
await ctx.Execute<System>(SystemInfo, m => m.Query(ctx, ctx.System));
else else
await HandleSystemCommandTargeted(ctx); await HandleSystemCommandTargeted(ctx);
} }