diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index b15e7777..f0c825b9 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -50,13 +50,13 @@ namespace PluralKit.Bot public static Command GroupList = new Command("group list", "group list", "Lists all groups in this system"); public static Command GroupMemberList = new Command("group members", "group list", "Lists all members in a group"); public static Command GroupRename = new Command("group rename", "group rename ", "Renames a group"); - public static Command GroupDisplayName = new Command("group displayname", "group displayname [display name]", "Changes a group's display name"); + public static Command GroupDisplayName = new Command("group displayname", "group displayname [display name]", "Changes a group's display name"); public static Command GroupDesc = new Command("group description", "group description [description]", "Changes a group's description"); public static Command GroupAdd = new Command("group add", "group add [member 2] [member 3...]", "Adds one or more members to a group"); public static Command GroupRemove = new Command("group remove", "group remove [member 2] [member 3...]", "Removes one or more members from a group"); public static Command GroupPrivacy = new Command("group privacy", "group privacy ", "Changes a group's privacy settings"); - public static Command GroupDelete = new Command("group delete", "group delete", "Deletes a group"); public static Command GroupIcon = new Command("group icon", "group icon [url|@mention]", "Changes a group's icon"); + public static Command GroupDelete = new Command("group delete", "group delete", "Deletes a group"); 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"); @@ -382,7 +382,7 @@ namespace PluralKit.Bot await PrintCommandNotFoundError(ctx, GroupCommandsTargeted); } else if (!ctx.HasNext()) - await PrintCommandNotFoundError(ctx, GroupCommands); + await PrintCommandExpectedError(ctx, GroupCommands); else await ctx.Reply($"{Emojis.Error} {ctx.CreateGroupNotFoundError(ctx.PopArgument())}"); } diff --git a/PluralKit.Bot/Commands/Member.cs b/PluralKit.Bot/Commands/Member.cs index 9e236892..a45411dc 100644 --- a/PluralKit.Bot/Commands/Member.cs +++ b/PluralKit.Bot/Commands/Member.cs @@ -46,7 +46,7 @@ namespace PluralKit.Bot memberCount++; // Send confirmation and space hint - await ctx.Reply($"{Emojis.Success} Member \"{memberName}\" (`{member.Hid}`) registered! Check out the getting started page for how to get a member up and running: https://pluralkit.me/start#members"); + await ctx.Reply($"{Emojis.Success} Member \"{memberName}\" (`{member.Hid}`) registered! Check out the getting started page for how to get a member up and running: https://pluralkit.me/start#create-a-member"); if (memberName.Contains(" ")) await ctx.Reply($"{Emojis.Note} Note that this member's name contains spaces. You will need to surround it with \"double quotes\" when using commands referring to it, or just use the member's 5-character ID (which is `{member.Hid}`)."); if (memberCount >= memberLimit) diff --git a/docs/content/command-list.md b/docs/content/command-list.md index d6cc2828..f07e2b0f 100644 --- a/docs/content/command-list.md +++ b/docs/content/command-list.md @@ -56,6 +56,21 @@ Words in **\** or **[square brackets]** mean fill-in-the-blank. - `pk;member delete` - Deletes a member. - `pk;random` - Shows the member card of a randomly selected member in your system. +## Group commands +*Replace `` with a group's name or 5-character ID. For most commands, adding `-clear` will clear/delete the field.* +- `pk;group ` - Shows information about a group. +- `pk;group new ` - Creates a new group. +- `pk;group list` - Lists all groups in your system. +- `pk;group list` - Lists all members in a group. +- `pk;group rename ` - Renames a group. +- `pk;group displayname [display name]` - Shows or changes a group's display name. +- `pk;group description [description]` - Shows or changes a group's description. +- `pk;group add [member 2] [member 3...]` - Adds one or more members to a group. +- `pk;group remove [member 2] [member 3...]` - Removes one or more members from a group. +- `pk;group privacy ` - Changes a group's privacy settings. +- `pk;group icon [icon]` - Shows or changes a group's icon. +- `pk;group delete` - Deletes a group. + ## Switching commands - `pk;switch [member...]` - Registers a switch with the given members. - `pk;switch move