/[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 73 by rakin, Mon Jul 29 17:28:29 2024 UTC revision 107 by rakin, Mon Jul 29 17:28:37 2024 UTC
# Line 52  export default <CommandHelpData[]> [ Line 52  export default <CommandHelpData[]> [
52          legacyCommand: true          legacyCommand: true
53      },      },
54      {      {
55            name: 'appeal',
56            shortBrief: "Send a message to staff members about a punishment appeal.",
57            description: null,
58            structure: "",
59            example: "`%%appeal`",
60            notes: null,
61            slashCommand: true,
62            legacyCommand: false
63        },
64        {
65          name: 'avatar',          name: 'avatar',
66          shortBrief: "Show someone's avatar.",          shortBrief: "Show someone's avatar.",
67          description: null,          description: null,
# Line 265  export default <CommandHelpData[]> [ Line 275  export default <CommandHelpData[]> [
275          name: 'lockall',          name: 'lockall',
276          shortBrief: "Lock all the channels given in the configuration.",          shortBrief: "Lock all the channels given in the configuration.",
277          description: "Makes the given channels read-only for the general members.",          description: "Makes the given channels read-only for the general members.",
278          structure: "[...options]",          structure: "<...ChannelMention|ChannelIDs> [--raid] [-r=ROLEMENTION|ROLEID]",
279          example: "`%%lockall --no-send\n`%%lockall`\n`%%lockall --everyone`",          example: "`%%lockall 2572562578247841786\n`%%lockall 2572562578247841786 2572562578247841782 2572562578247841783`\n`%%lockall 2572562578247841786 2572562578247841785 -r @General`",
280          notes: null,          notes: null,
281          options: {          options: {
282              "--no-send": "Do not send a confirmation message to the locked channel",              "--raid": "Lock all raid protected channels",
283          },          },
284          slashCommand: true,          slashCommand: true,
285          legacyCommand: true          legacyCommand: true
# Line 378  export default <CommandHelpData[]> [ Line 388  export default <CommandHelpData[]> [
388          legacyCommand: true          legacyCommand: true
389      },      },
390      {      {
391            name: 'rolelist',
392            shortBrief: 'List all roles in the server',
393            description: null,
394            structure: "[Page] [Role]",
395            example: "`%%rolelist`",
396            notes: null,
397            slashCommand: true,
398            legacyCommand: false
399        },
400        {
401          name: 'schedule',          name: 'schedule',
402          shortBrief: "Echo (re-send) a message after the given time.",          shortBrief: "Echo (re-send) a message after the given time.",
403          description: "Re-send a message from the bot automatically after the given time interval.",          description: "Re-send a message from the bot automatically after the given time interval.",
# Line 408  export default <CommandHelpData[]> [ Line 428  export default <CommandHelpData[]> [
428          legacyCommand: true          legacyCommand: true
429      },      },
430      {      {
431            name: 'softban',
432            shortBrief: "Softban a user.",
433            description: "A softban means banning and unbanning a user immediately so that their messages gets deleted.",
434            structure: "<UserID|UserTag|UserMention> [-d=DAYS] [Reason]",
435            example: "`%%softban @Someone`\n`%%softban 44347362235774742 Hello world`",
436            notes: null,
437            slashCommand: true,
438            legacyCommand: true
439        },
440        {
441          name: 'stats',          name: 'stats',
442          shortBrief: "Show the server stats.",          shortBrief: "Show the server stats.",
443          description: null,          description: null,
# Line 428  export default <CommandHelpData[]> [ Line 458  export default <CommandHelpData[]> [
458          legacyCommand: true          legacyCommand: true
459      },      },
460      {      {
461            name: 'tempban',
462            shortBrief: "Temporarily ban a user.",
463            description: null,
464            structure: "<UserID|UserTag|UserMention> <Time> [-d=DAYS] [Reason]",
465            example: "`%%softban @Someone 20m`\n`%%softban 44347362235774742 50m Hello world`",
466            notes: null,
467            slashCommand: true,
468            legacyCommand: true
469        },
470        {
471          name: 'unban',          name: 'unban',
472          shortBrief: "Unban a user from this server.",          shortBrief: "Unban a user from this server.",
473          description: null,          description: null,
# Line 453  export default <CommandHelpData[]> [ Line 493  export default <CommandHelpData[]> [
493      {      {
494          name: 'unlockall',          name: 'unlockall',
495          shortBrief: "Unlock all the channels given in the configuration.",          shortBrief: "Unlock all the channels given in the configuration.",
496          description: "Makes the given channels writable for the general members.",          description: "<...ChannelMention|ChannelIDs> [--raid] [-r=ROLEMENTION|ROLEID]",
497          structure: "[...options]",          structure: "[...options]",
498          example: "`%%unlockall --no-send\n`%%unlockall`\n`%%unlockall --everyone`",          example: "`%%unlockall --raid\n`%%unlockall 348764381911364631 634894637314679163795`",
499          notes: null,          notes: null,
500          options: {          options: {
501              "--no-send": "Do not send a confirmation message to the locked channel",              "--raid": "Unlock all Raid-protected channels"
             "--raid": "Unlock all Raid-locked channels"  
502          },          },
503          slashCommand: true,          slashCommand: true,
504          legacyCommand: true          legacyCommand: true
# Line 485  export default <CommandHelpData[]> [ Line 524  export default <CommandHelpData[]> [
524          legacyCommand: true          legacyCommand: true
525      },      },
526      {      {
         name: 'warndel',  
         shortBrief: "Delete a warning.",  
         description: null,  
         structure: "<ID>",  
         example: "`%%warndel 39`",  
         notes: null,  
         slashCommand: true,  
         legacyCommand: true  
     },  
     {  
527          name: 'warning',          name: 'warning',
528          shortBrief: "Show a warning.",          shortBrief: "Operations with warnings.",
529          description: null,          description: null,
530          structure: "<ID>",          structure: "<ID>",
531          example: "`%%warning 39`",          example: "`%%warning list @Someone`\n`%%warning clear @Someone`\n`%%warning remove 24`\n`%%warning view 35`",
532          notes: null,          notes: null,
533          slashCommand: true,          slashCommand: true,
534          legacyCommand: true          legacyCommand: true,
535      },          subcommands: {
536      {              "list": "List all warnings for a user",
537          name: 'warnings',              "clear": "Clear all warnings for a user",
538          shortBrief: "Show all warnings.",              "remove": "Remove a warning by ID",
539          description: "Show all warnings in this server. Passing an user will only show their warnings.",              "view": "View information about a warning by ID"
540          structure: "[UserId|UserTag|Mention]",          }
         example: "`%%warnings`\n`%%warnings 948489127957979253978538`",  
         notes: null,  
         slashCommand: true,  
         legacyCommand: true  
541      },      },
542  ]  ]

Legend:
Removed from v.73  
changed lines
  Added in v.107

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26