Add usage strings to all commands
This commit is contained in:
		| @@ -7,6 +7,7 @@ namespace PluralKit.Bot.Commands | ||||
|     public class HelpCommands: ModuleBase<PKCommandContext> | ||||
|     { | ||||
|         [Command("help")] | ||||
|         [Remarks("help")] | ||||
|         public async Task HelpRoot([Remainder] string _ignored) | ||||
|         { | ||||
|             await Context.Channel.SendMessageAsync(embed: new EmbedBuilder() | ||||
| @@ -24,6 +25,7 @@ namespace PluralKit.Bot.Commands | ||||
|         } | ||||
|  | ||||
|         [Command("commands")] | ||||
|         [Remarks("commands")] | ||||
|         public async Task CommandList() | ||||
|         { | ||||
|             await Context.Channel.SendMessageAsync( | ||||
|   | ||||
| @@ -28,6 +28,7 @@ namespace PluralKit.Bot.Commands | ||||
|          | ||||
|  | ||||
|         [Command] | ||||
|         [Remarks("system <name>")] | ||||
|         public async Task Query(PKSystem system = null) { | ||||
|             if (system == null) system = Context.SenderSystem; | ||||
|             if (system == null) throw Errors.NoSystemError; | ||||
| @@ -151,6 +152,7 @@ namespace PluralKit.Bot.Commands | ||||
|         } | ||||
|  | ||||
|         [Command("fronter")] | ||||
|         [Remarks("system [system] fronter")] | ||||
|         public async Task SystemFronter() | ||||
|         { | ||||
|             var system = ContextEntity ?? Context.SenderSystem; | ||||
| @@ -163,6 +165,7 @@ namespace PluralKit.Bot.Commands | ||||
|         } | ||||
|  | ||||
|         [Command("fronthistory")] | ||||
|         [Remarks("system [system] fronthistory")] | ||||
|         public async Task SystemFrontHistory() | ||||
|         { | ||||
|             var system = ContextEntity ?? Context.SenderSystem; | ||||
| @@ -175,6 +178,7 @@ namespace PluralKit.Bot.Commands | ||||
|         } | ||||
|  | ||||
|         [Command("frontpercent")] | ||||
|         [Remarks("system [system] frontpercent [duration]")] | ||||
|         public async Task SystemFrontPercent(string durationStr = "30d") | ||||
|         { | ||||
|             var system = ContextEntity ?? Context.SenderSystem; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user