/[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 272 by rakin, Mon Jul 29 17:29:18 2024 UTC revision 295 by rakin, Mon Jul 29 17:29:24 2024 UTC
# Line 75  export default <CommandHelpData[]> [ Line 75  export default <CommandHelpData[]> [
75          name: 'avatar',          name: 'avatar',
76          shortBrief: "Show someone's avatar.",          shortBrief: "Show someone's avatar.",
77          description: null,          description: null,
78          structure: "[UserID|UserTag|Mention]=CURRENT_USER",          structure: "[UserID|UserTag|Mention=CURRENT_USER]",
79          example: "`%%avatar 385753607325075320`\n`%%avatar`",          example: "`%%avatar 385753607325075320`\n`%%avatar`",
80          notes: null,          notes: null,
81          slashCommand: true,          slashCommand: true,
# Line 181  export default <CommandHelpData[]> [ Line 181  export default <CommandHelpData[]> [
181      {      {
182          name: 'embed',          name: 'embed',
183          shortBrief: "Build, send and make schemas of embeds!",          shortBrief: "Build, send and make schemas of embeds!",
184          description: "Build, send and make schemas of embeds. Schemas are special kind of text which can be used in various commands to represent an embed.\n**Subcommands**:\n\n`send` - Build and send an embed from the given input.\n`schema` - Builds an embed and returns back the JSON schema of the embed so that you can use it in other places!\n`build` - Builds an embed from a JSON schema.",          description: "Build, send and make schemas of embeds. Schemas are special kind of text which can be used in various commands to represent an embed.\n\n**Subcommands**:\n\n`send` - Build and send an embed from the given input.\n`schema` - Builds an embed and returns back the JSON schema of the embed so that you can use it in other places!\n`build` - Builds an embed from a JSON schema.",
185          structure: "<subcommand> <...args>",          structure: "<subcommand> <...args>",
186          example: "`/embed send title:Hello world description:This is an embed, awesome!`\n`/embed schema title:Hello world description:This is an embed, awesome!`\n`/embed build json_schema:embed:{\"title\": \"Hello world\", \"description\": \"This is an embed, awesome!\", \"fields\": []}`",          example: "`/embed send title:Hello world description:This is an embed, awesome!`\n`/embed schema title:Hello world description:This is an embed, awesome!`\n`/embed build json_schema:embed:{\"title\": \"Hello world\", \"description\": \"This is an embed, awesome!\", \"fields\": []}`",
187          notes: null,          notes: null,
# Line 229  export default <CommandHelpData[]> [ Line 229  export default <CommandHelpData[]> [
229          legacyCommand: true          legacyCommand: true
230      },      },
231      {      {
232            name: 'guildlookup',
233            shortBrief: "Lookup any Public Discord server/guild!",
234            description: "Lookup any Public Discord server/guild!\nThis command is a subcommand of the `/lookup` slash command.",
235            structure: "<UserID|Mention>",
236            example: "`%%guildlookup 385753607325075320`\n`",
237            notes: null,
238            slashCommand: true,
239            legacyCommand: true
240        },
241        {
242          name: 'hash',          name: 'hash',
243          shortBrief: "Generate a hash of the given text input.",          shortBrief: "Generate a hash of the given text input.",
244          description: null,          description: null,
# Line 322  export default <CommandHelpData[]> [ Line 332  export default <CommandHelpData[]> [
332          legacyCommand: true          legacyCommand: true
333      },      },
334      {      {
335            name: 'lookup',
336            shortBrief: "Lookup something.",
337            description: null,
338            structure: "[ChannelID|ChannelMention]",
339            subcommands: {
340                "user": "Lookup a user around Discord",
341                "guild": "Lookup a Public Discord Server"
342            },
343            example: "`/lookup user user:384624924565405777`",
344            notes: null,
345            slashCommand: true,
346            legacyCommand: false
347        },
348        {
349          name: 'massban',          name: 'massban',
350          shortBrief: 'Mass ban (multiple) users',          shortBrief: 'Mass ban (multiple) users',
351          description: null,          description: null,
# Line 558  export default <CommandHelpData[]> [ Line 582  export default <CommandHelpData[]> [
582          legacyCommand: true          legacyCommand: true
583      },      },
584      {      {
585            name: 'userlookup',
586            shortBrief: "Lookup any Discord user!",
587            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.",
588            structure: "<UserID|Mention>",
589            example: "`%%userlookup 385753607325075320`\n`",
590            notes: null,
591            slashCommand: true,
592            legacyCommand: true
593        },
594        {
595          name: 'warn',          name: 'warn',
596          shortBrief: "Warn someone in this server.",          shortBrief: "Warn someone in this server.",
597          description: null,          description: null,
# Line 590  export default <CommandHelpData[]> [ Line 624  export default <CommandHelpData[]> [
624          structure: "<option(s)> [...args]",          structure: "<option(s)> [...args]",
625          example: "`%%welcomer --enable`",          example: "`%%welcomer --enable`",
626          notes: null,          notes: null,
627          slashCommand: true,          slashCommand: false,
628          legacyCommand: true,          legacyCommand: true,
629          options: {          options: {
630              "--enable": "Enables the welcomer",              "--enable": "Enables the welcomer",

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26