/[sudobot]/trunk/src/utils/Help.ts
ViewVC logotype

Diff of /trunk/src/utils/Help.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 295 by rakin, Mon Jul 29 17:29:24 2024 UTC revision 565 by rakin, Mon Jul 29 17:30:51 2024 UTC
# Line 1  Line 1 
1    /**
2    * This file is part of SudoBot.
3    *
4    * Copyright (C) 2021-2022 OSN Inc.
5    *
6    * SudoBot is free software; you can redistribute it and/or modify it
7    * under the terms of the GNU Affero General Public License as published by
8    * the Free Software Foundation, either version 3 of the License, or
9    * (at your option) any later version.
10    *
11    * SudoBot is distributed in the hope that it will be useful, but
12    * WITHOUT ANY WARRANTY; without even the implied warranty of
13    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14    * GNU Affero General Public License for more details.
15    *
16    * You should have received a copy of the GNU Affero General Public License
17    * along with SudoBot. If not, see <https://www.gnu.org/licenses/>.
18    */
19    
20  import { CommandHelpData } from "../types/CommandHelpData";  import { CommandHelpData } from "../types/CommandHelpData";
21    
22  export default <CommandHelpData[]> [  export default <CommandHelpData[]> [
# Line 82  export default <CommandHelpData[]> [ Line 101  export default <CommandHelpData[]> [
101          legacyCommand: true          legacyCommand: true
102      },      },
103      {      {
104            name: 'avatarlookup',
105            shortBrief: "Lookup someone's avatar!",
106            description: "Lookup someone's avatar, using Google Image Search.\nThis command is a subcommand of the `/lookup` slash command.",
107            structure: "<UserID|Mention>",
108            example: "`%%avatarlookup 385753607325075320`\n`",
109            notes: null,
110            slashCommand: true,
111            legacyCommand: true
112        },
113        {
114          name: 'ban',          name: 'ban',
115          shortBrief: "Ban someone in this server.",          shortBrief: "Ban someone in this server.",
116          description: "Ban a user in this server.",          description: "Ban a user in this server.",
# Line 190  export default <CommandHelpData[]> [ Line 219  export default <CommandHelpData[]> [
219      },      },
220      {      {
221          name: 'emoji',          name: 'emoji',
222          shortBrief: "Get info about an emoji. Must be guild (server) specific emoji.",          shortBrief: "Get info about an emoji.",
223          description: null,          description: null,
224          structure: "<GuildEmoji|GuildEmojiName>",          structure: "<GuildEmojiID|GuildEmoji|GuildEmojiName|ExternalEmoji|ExternalEmojiID>",
225          example: "`%%emoji check`\n`%%emoji error`",          example: "`%%emoji check`\n`%%emoji error`",
226          notes: null,          notes: null,
227          slashCommand: false,          slashCommand: false,
# Line 429  export default <CommandHelpData[]> [ Line 458  export default <CommandHelpData[]> [
458          legacyCommand: true          legacyCommand: true
459      },      },
460      {      {
461            name: "private",
462            shortBrief: "Create a private channel for the specified users, including the command executor.",
463            description: null,
464            structure: '<...UserIDs|UserTags|UserMentions> [CategoryChannel]',
465            example: '`%%private 2936398373737283`\n`%%private @Someone`',
466            notes: null,
467            slashCommand: true,
468            legacyCommand: true
469        }
470        {
471          name: 'profile',          name: 'profile',
472          shortBrief: 'Show the server profile.',          shortBrief: 'Show the server profile.',
473          description: null,          description: null,
# Line 450  export default <CommandHelpData[]> [ Line 489  export default <CommandHelpData[]> [
489      },      },
490      {      {
491          name: 'rolelist',          name: 'rolelist',
492          shortBrief: 'List all roles in the server',          shortBrief: 'List all roles in the server or give info about a role.',
493          description: null,          description: null,
494          structure: "[Page] [Role]",          structure: "[RoleMention|RoleID]",
495          example: "`%%rolelist`",          example: "`%%rolelist`\n`%%rolelist @Moderator`",
496          notes: null,          notes: null,
497          slashCommand: true,          slashCommand: true,
498          legacyCommand: false          legacyCommand: true
499      },      },
500      {      {
501          name: 'schedule',          name: 'schedule',
# Line 636  export default <CommandHelpData[]> [ Line 675  export default <CommandHelpData[]> [
675              "--preview": "Preview the welcome message embed.",              "--preview": "Preview the welcome message embed.",
676          }          }
677      },      },
 ]  
678    ]

Legend:
Removed from v.295  
changed lines
  Added in v.565

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26