/[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 297 by rakin, Mon Jul 29 17:29:25 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,
82          legacyCommand: true          legacyCommand: true
83      },      },
84      {      {
85            name: 'avatarlookup',
86            shortBrief: "Lookup someone's avatar!",
87            description: "Lookup someone's avatar, using Google Image Search.\nThis command is a subcommand of the `/lookup` slash command.",
88            structure: "<UserID|Mention>",
89            example: "`%%avatarlookup 385753607325075320`\n`",
90            notes: null,
91            slashCommand: true,
92            legacyCommand: true
93        },
94        {
95          name: 'ban',          name: 'ban',
96          shortBrief: "Ban someone in this server.",          shortBrief: "Ban someone in this server.",
97          description: "Ban a user in this server.",          description: "Ban a user in this server.",
# Line 181  export default <CommandHelpData[]> [ Line 191  export default <CommandHelpData[]> [
191      {      {
192          name: 'embed',          name: 'embed',
193          shortBrief: "Build, send and make schemas of embeds!",          shortBrief: "Build, send and make schemas of embeds!",
194          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.",
195          structure: "<subcommand> <...args>",          structure: "<subcommand> <...args>",
196          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\": []}`",
197          notes: null,          notes: null,
# Line 229  export default <CommandHelpData[]> [ Line 239  export default <CommandHelpData[]> [
239          legacyCommand: true          legacyCommand: true
240      },      },
241      {      {
242            name: 'guildlookup',
243            shortBrief: "Lookup any Public Discord server/guild!",
244            description: "Lookup any Public Discord server/guild!\nThis command is a subcommand of the `/lookup` slash command.",
245            structure: "<UserID|Mention>",
246            example: "`%%guildlookup 385753607325075320`\n`",
247            notes: null,
248            slashCommand: true,
249            legacyCommand: true
250        },
251        {
252          name: 'hash',          name: 'hash',
253          shortBrief: "Generate a hash of the given text input.",          shortBrief: "Generate a hash of the given text input.",
254          description: null,          description: null,
# Line 322  export default <CommandHelpData[]> [ Line 342  export default <CommandHelpData[]> [
342          legacyCommand: true          legacyCommand: true
343      },      },
344      {      {
345            name: 'lookup',
346            shortBrief: "Lookup something.",
347            description: null,
348            structure: "[ChannelID|ChannelMention]",
349            subcommands: {
350                "user": "Lookup a user around Discord",
351                "guild": "Lookup a Public Discord Server"
352            },
353            example: "`/lookup user user:384624924565405777`",
354            notes: null,
355            slashCommand: true,
356            legacyCommand: false
357        },
358        {
359          name: 'massban',          name: 'massban',
360          shortBrief: 'Mass ban (multiple) users',          shortBrief: 'Mass ban (multiple) users',
361          description: null,          description: null,
# Line 558  export default <CommandHelpData[]> [ Line 592  export default <CommandHelpData[]> [
592          legacyCommand: true          legacyCommand: true
593      },      },
594      {      {
595            name: 'userlookup',
596            shortBrief: "Lookup any Discord user!",
597            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.",
598            structure: "<UserID|Mention>",
599            example: "`%%userlookup 385753607325075320`\n`",
600            notes: null,
601            slashCommand: true,
602            legacyCommand: true
603        },
604        {
605          name: 'warn',          name: 'warn',
606          shortBrief: "Warn someone in this server.",          shortBrief: "Warn someone in this server.",
607          description: null,          description: null,
# Line 590  export default <CommandHelpData[]> [ Line 634  export default <CommandHelpData[]> [
634          structure: "<option(s)> [...args]",          structure: "<option(s)> [...args]",
635          example: "`%%welcomer --enable`",          example: "`%%welcomer --enable`",
636          notes: null,          notes: null,
637          slashCommand: true,          slashCommand: false,
638          legacyCommand: true,          legacyCommand: true,
639          options: {          options: {
640              "--enable": "Enables the welcomer",              "--enable": "Enables the welcomer",

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26