Removed a duplicate line of code
This commit is contained in:
parent
ebf6933440
commit
1290594211
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user