mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 00:07:55 +00:00
Add usage strings to all commands
This commit is contained in:
parent
1bd5e7e3ca
commit
305d8f220e
2 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue