command tree tweaks
This commit is contained in:
parent
2a041d9eb5
commit
d6f7aafd2a
@ -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 GroupList = new Command("group list", "group list", "Lists all groups in this system");
|
||||||
public static Command GroupMemberList = new Command("group members", "group <group> list", "Lists all members in a group");
|
public static Command GroupMemberList = new Command("group members", "group <group> list", "Lists all members in a group");
|
||||||
public static Command GroupRename = new Command("group rename", "group <group> rename <new name>", "Renames a group");
|
public static Command GroupRename = new Command("group rename", "group <group> rename <new name>", "Renames a group");
|
||||||
public static Command GroupDisplayName = new Command("group displayname", "group <member> displayname [display name]", "Changes a group's display name");
|
public static Command GroupDisplayName = new Command("group displayname", "group <group> displayname [display name]", "Changes a group's display name");
|
||||||
public static Command GroupDesc = new Command("group description", "group <group> description [description]", "Changes a group's description");
|
public static Command GroupDesc = new Command("group description", "group <group> description [description]", "Changes a group's description");
|
||||||
public static Command GroupAdd = new Command("group add", "group <group> add <member> [member 2] [member 3...]", "Adds one or more members to a group");
|
public static Command GroupAdd = new Command("group add", "group <group> add <member> [member 2] [member 3...]", "Adds one or more members to a group");
|
||||||
public static Command GroupRemove = new Command("group remove", "group <group> remove <member> [member 2] [member 3...]", "Removes one or more members from a group");
|
public static Command GroupRemove = new Command("group remove", "group <group> remove <member> [member 2] [member 3...]", "Removes one or more members from a group");
|
||||||
public static Command GroupPrivacy = new Command("group privacy", "group <group> privacy <description|icon|visibility|all> <public|private>", "Changes a group's privacy settings");
|
public static Command GroupPrivacy = new Command("group privacy", "group <group> privacy <description|icon|visibility|all> <public|private>", "Changes a group's privacy settings");
|
||||||
public static Command GroupDelete = new Command("group delete", "group <group> delete", "Deletes a group");
|
|
||||||
public static Command GroupIcon = new Command("group icon", "group <group> icon [url|@mention]", "Changes a group's icon");
|
public static Command GroupIcon = new Command("group icon", "group <group> icon [url|@mention]", "Changes a group's icon");
|
||||||
|
public static Command GroupDelete = new Command("group delete", "group <group> delete", "Deletes a group");
|
||||||
public static Command Switch = new Command("switch", "switch <member> [member 2] [member 3...]", "Registers a switch");
|
public static Command Switch = new Command("switch", "switch <member> [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 SwitchOut = new Command("switch out", "switch out", "Registers a switch with no members");
|
||||||
public static Command SwitchMove = new Command("switch move", "switch move <date/time>", "Moves the latest switch in time");
|
public static Command SwitchMove = new Command("switch move", "switch move <date/time>", "Moves the latest switch in time");
|
||||||
@ -382,7 +382,7 @@ namespace PluralKit.Bot
|
|||||||
await PrintCommandNotFoundError(ctx, GroupCommandsTargeted);
|
await PrintCommandNotFoundError(ctx, GroupCommandsTargeted);
|
||||||
}
|
}
|
||||||
else if (!ctx.HasNext())
|
else if (!ctx.HasNext())
|
||||||
await PrintCommandNotFoundError(ctx, GroupCommands);
|
await PrintCommandExpectedError(ctx, GroupCommands);
|
||||||
else
|
else
|
||||||
await ctx.Reply($"{Emojis.Error} {ctx.CreateGroupNotFoundError(ctx.PopArgument())}");
|
await ctx.Reply($"{Emojis.Error} {ctx.CreateGroupNotFoundError(ctx.PopArgument())}");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user