From ff78639ac0daa9863ce3b95c7c0a42b50570bdd6 Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 29 Apr 2019 17:44:20 +0200 Subject: [PATCH] bot: add usage for commands --- PluralKit/Bot/Commands/SystemCommands.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PluralKit/Bot/Commands/SystemCommands.cs b/PluralKit/Bot/Commands/SystemCommands.cs index 960f782e..664640d4 100644 --- a/PluralKit/Bot/Commands/SystemCommands.cs +++ b/PluralKit/Bot/Commands/SystemCommands.cs @@ -26,6 +26,7 @@ namespace PluralKit.Bot.Commands } [Command("new")] + [Remarks("system new ")] public async Task New([Remainder] string systemName = null) { if (ContextEntity != null) RaiseNoContextError(); @@ -37,6 +38,7 @@ namespace PluralKit.Bot.Commands } [Command("name")] + [Remarks("system name ")] public async Task Name([Remainder] string newSystemName = null) { if (ContextEntity != null) RaiseNoContextError(); if (Context.SenderSystem == null) Context.RaiseNoSystemError(); @@ -48,6 +50,7 @@ namespace PluralKit.Bot.Commands } [Command("description")] + [Remarks("system description ")] public async Task Description([Remainder] string newDescription = null) { if (ContextEntity != null) RaiseNoContextError(); if (Context.SenderSystem == null) Context.RaiseNoSystemError(); @@ -59,6 +62,7 @@ namespace PluralKit.Bot.Commands } [Command("tag")] + [Remarks("system tag ")] public async Task Tag([Remainder] string newTag = null) { if (ContextEntity != null) RaiseNoContextError(); if (Context.SenderSystem == null) Context.RaiseNoSystemError(); @@ -78,6 +82,7 @@ namespace PluralKit.Bot.Commands } [Command("delete")] + [Remarks("system delete")] public async Task Delete() { if (ContextEntity != null) RaiseNoContextError(); if (Context.SenderSystem == null) Context.RaiseNoSystemError(); @@ -95,6 +100,7 @@ namespace PluralKit.Bot.Commands public MemberStore Members { get; set; } [Command] + [Remarks("system [system] list")] public async Task MemberShortList() { var system = Context.GetContextEntity() ?? Context.SenderSystem; if (system == null) Context.RaiseNoSystemError(); @@ -111,6 +117,7 @@ namespace PluralKit.Bot.Commands [Command("full")] [Alias("big", "details", "long")] + [Remarks("system [system] list full")] public async Task MemberLongList() { var system = Context.GetContextEntity() ?? Context.SenderSystem; if (system == null) Context.RaiseNoSystemError();