/[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 279 by rakin, Mon Jul 29 17:29:20 2024 UTC revision 393 by rakin, Mon Jul 29 17:29:59 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 229  export default <CommandHelpData[]> [ Line 258  export default <CommandHelpData[]> [
258          legacyCommand: true          legacyCommand: true
259      },      },
260      {      {
261            name: 'guildlookup',
262            shortBrief: "Lookup any Public Discord server/guild!",
263            description: "Lookup any Public Discord server/guild!\nThis command is a subcommand of the `/lookup` slash command.",
264            structure: "<UserID|Mention>",
265            example: "`%%guildlookup 385753607325075320`\n`",
266            notes: null,
267            slashCommand: true,
268            legacyCommand: true
269        },
270        {
271          name: 'hash',          name: 'hash',
272          shortBrief: "Generate a hash of the given text input.",          shortBrief: "Generate a hash of the given text input.",
273          description: null,          description: null,
# Line 322  export default <CommandHelpData[]> [ Line 361  export default <CommandHelpData[]> [
361          legacyCommand: true          legacyCommand: true
362      },      },
363      {      {
364            name: 'lookup',
365            shortBrief: "Lookup something.",
366            description: null,
367            structure: "[ChannelID|ChannelMention]",
368            subcommands: {
369                "user": "Lookup a user around Discord",
370                "guild": "Lookup a Public Discord Server"
371            },
372            example: "`/lookup user user:384624924565405777`",
373            notes: null,
374            slashCommand: true,
375            legacyCommand: false
376        },
377        {
378          name: 'massban',          name: 'massban',
379          shortBrief: 'Mass ban (multiple) users',          shortBrief: 'Mass ban (multiple) users',
380          description: null,          description: null,
# Line 556  export default <CommandHelpData[]> [ Line 609  export default <CommandHelpData[]> [
609          notes: null,          notes: null,
610          slashCommand: true,          slashCommand: true,
611          legacyCommand: true          legacyCommand: true
612        },
613        {
614            name: 'userlookup',
615            shortBrief: "Lookup any Discord user!",
616            description: "Lookup any Discord user! Doesn't matter if they are in the server or not.\nThis command is a subcommand of the `/lookup` slash command.",
617            structure: "<UserID|Mention>",
618            example: "`%%userlookup 385753607325075320`\n`",
619            notes: null,
620            slashCommand: true,
621            legacyCommand: true
622      },      },
623      {      {
624          name: 'warn',          name: 'warn',

Legend:
Removed from v.279  
changed lines
  Added in v.393

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26