/[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 11 by rakin, Mon Jul 29 17:28:13 2024 UTC revision 26 by rakin, Mon Jul 29 17:28:16 2024 UTC
# Line 3  const MessageEmbed = require("../src/Mes Line 3  const MessageEmbed = require("../src/Mes
3  const { escapeRegex } = require("../src/util");  const { escapeRegex } = require("../src/util");
4    
5  module.exports = {  module.exports = {
6      version: "1.0.0-beta",      version: "1.3.0-beta",
7      commands: [      commands: [
8          {          {
9              name: 'addsnippet',              name: 'addsnippet',
# Line 46  module.exports = { Line 46  module.exports = {
46              notes: null              notes: null
47          },          },
48          {          {
49                name: 'clear',
50                shortBrief: "Clear all messages from a user.",
51                description: "Clear all messages from a user, in the current channel. This might take a while.",
52                structure: "<UserID|UserMention>",
53                example: "`%%clear 83474924191884727`\n`%%clear @Someone`",
54                notes: null
55            },
56            {
57              name: 'delsnippet',              name: 'delsnippet',
58              shortBrief: "Deletes a snippet.",              shortBrief: "Deletes a snippet.",
59              description: null,              description: null,
# Line 86  module.exports = { Line 94  module.exports = {
94              notes: null              notes: null
95          },          },
96          {          {
97                name: 'history',
98                shortBrief: "Show moderation history for a user.",
99                description: null,
100                structure: "<UserMention|UserID>",
101                example: "`%%history 27372628277272625`\n`%%history @Someone`",
102                notes: null
103            },
104            {
105              name: 'httpcat',              name: 'httpcat',
106              shortBrief: "Get some funny cat memes related to HTTP.",              shortBrief: "Get some funny cat memes related to HTTP.",
107              description: "Get some funny cat memes related to HTTP status codes, using http.cat API.",              description: "Get some funny cat memes related to HTTP status codes, using http.cat API.",
# Line 177  module.exports = { Line 193  module.exports = {
193              notes: null              notes: null
194          },          },
195          {          {
             name: 'note',  
             shortBrief: "Take a note about an user.",  
             description: null,  
             structure: "<UserID|UserMention> <note>",  
             example: "`%%note @Someone Simple note.`",  
             notes: null  
         },  
         {  
196              name: 'notedel',              name: 'notedel',
197              shortBrief: "Delete a note.",              shortBrief: "Delete a note.",
198              description: null,              description: null,
# Line 250  module.exports = { Line 258  module.exports = {
258          },          },
259          {          {
260              name: 'unlock',              name: 'unlock',
261              shortBrief: "Unock a specific channel.",              shortBrief: "Unlock a specific channel.",
262              description: "Makes the given channel writable for the general members. If no channel is present, the current channel is unlocked.",              description: "Makes the given channel writable for the general members. If no channel is present, the current channel is unlocked.",
263              structure: "[ChannelID|ChannelMention] [...options]",              structure: "[ChannelID|ChannelMention] [...options]",
264              example: "`%%unlock 385753607325075320`\n`%%unlock #general`\n`%%unlock`",              example: "`%%unlock 385753607325075320`\n`%%unlock #general`\n`%%unlock`",
265              notes: null,              notes: null,
266              options: {              options: {
267                  "--no-send": "Do not send a confirmation message to the locked channel",                  "--no-send": "Do not send a confirmation message to the locked channel",
268                  "--everyone": "Unock the channels for @everyone rather than the general role",                  "--everyone": "Unlock the channels for @everyone rather than the general role",
269              }              }
270          },          },
271          {          {
# Line 270  module.exports = { Line 278  module.exports = {
278              options: {              options: {
279                  "--no-send": "Do not send a confirmation message to the locked channel",                  "--no-send": "Do not send a confirmation message to the locked channel",
280                  "--everyone": "Lock the channels for @everyone rather than the general role",                  "--everyone": "Lock the channels for @everyone rather than the general role",
281                    "--raid": "Unlock all Raid-locked channels"
282              }              }
283          },          },
284          {          {
285              name: 'unmute',              name: 'unmute',
286              shortBrief: "Unute someone in this server.",              shortBrief: "Unmute someone in this server.",
287              description: null,              description: null,
288              structure: "<UserID|Mention>",              structure: "<UserID|Mention>",
289              example: "`%%unmute 385753607325075320`\n`%%unmute @Someone You are spamming a lot`",              example: "`%%unmute 385753607325075320`\n`%%unmute @Someone You are spamming a lot`",

Legend:
Removed from v.11  
changed lines
  Added in v.26

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26