From 01cedaab537d0af3ce03c3cded8f845d666ffbb1 Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 19 Nov 2020 18:05:53 -0500 Subject: [PATCH] Tweak description for `switch delete all` command --- PluralKit.Bot/Commands/CommandTree.cs | 5 +++-- docs/content/command-list.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index e6b79377..211bf148 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -60,7 +60,8 @@ namespace PluralKit.Bot public static Command Switch = new Command("switch", "switch [member 2] [member 3...]", "Registers a switch"); public static Command SwitchOut = new Command("switch out", "switch out", "Registers a switch with no members"); public static Command SwitchMove = new Command("switch move", "switch move ", "Moves the latest switch in time"); - public static Command SwitchDelete = new Command("switch delete", "switch delete [all]", "Deletes the latest switch (or them all)"); + public static Command SwitchDelete = new Command("switch delete", "switch delete", "Deletes the latest switch"); + public static Command SwitchDeleteAll = new Command("switch delete", "switch delete all", "Deletes all logged switches"); public static Command Link = new Command("link", "link ", "Links your system to another account"); public static Command Unlink = new Command("unlink", "unlink [account]", "Unlinks your system from an account"); public static Command TokenGet = new Command("token", "token", "Gets your system's API token"); @@ -104,7 +105,7 @@ namespace PluralKit.Bot GroupDelete }; - public static Command[] SwitchCommands = {Switch, SwitchOut, SwitchMove, SwitchDelete}; + public static Command[] SwitchCommands = {Switch, SwitchOut, SwitchMove, SwitchDelete, SwitchDeleteAll}; public static Command[] LogCommands = {LogChannel, LogChannelClear, LogEnable, LogDisable}; diff --git a/docs/content/command-list.md b/docs/content/command-list.md index 7cc6fc8c..0eed6ac8 100644 --- a/docs/content/command-list.md +++ b/docs/content/command-list.md @@ -75,7 +75,7 @@ Words in **\** or **[square brackets]** mean fill-in-the-blank. - `pk;switch [member...]` - Registers a switch with the given members. - `pk;switch move