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.0.0-beta1", |
7 |
commands: [ |
commands: [ |
8 |
{ |
{ |
9 |
name: 'addsnippet', |
name: 'addsnippet', |
177 |
notes: null |
notes: null |
178 |
}, |
}, |
179 |
{ |
{ |
|
name: 'note', |
|
|
shortBrief: "Take a note about an user.", |
|
|
description: null, |
|
|
structure: "<UserID|UserMention> <note>", |
|
|
example: "`%%note @Someone Simple note.`", |
|
|
notes: null |
|
|
}, |
|
|
{ |
|
180 |
name: 'notedel', |
name: 'notedel', |
181 |
shortBrief: "Delete a note.", |
shortBrief: "Delete a note.", |
182 |
description: null, |
description: null, |
242 |
}, |
}, |
243 |
{ |
{ |
244 |
name: 'unlock', |
name: 'unlock', |
245 |
shortBrief: "Unock a specific channel.", |
shortBrief: "Unlock a specific channel.", |
246 |
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.", |
247 |
structure: "[ChannelID|ChannelMention] [...options]", |
structure: "[ChannelID|ChannelMention] [...options]", |
248 |
example: "`%%unlock 385753607325075320`\n`%%unlock #general`\n`%%unlock`", |
example: "`%%unlock 385753607325075320`\n`%%unlock #general`\n`%%unlock`", |
249 |
notes: null, |
notes: null, |
250 |
options: { |
options: { |
251 |
"--no-send": "Do not send a confirmation message to the locked channel", |
"--no-send": "Do not send a confirmation message to the locked channel", |
252 |
"--everyone": "Unock the channels for @everyone rather than the general role", |
"--everyone": "Unlock the channels for @everyone rather than the general role", |
253 |
} |
} |
254 |
}, |
}, |
255 |
{ |
{ |
266 |
}, |
}, |
267 |
{ |
{ |
268 |
name: 'unmute', |
name: 'unmute', |
269 |
shortBrief: "Unute someone in this server.", |
shortBrief: "Unmute someone in this server.", |
270 |
description: null, |
description: null, |
271 |
structure: "<UserID|Mention>", |
structure: "<UserID|Mention>", |
272 |
example: "`%%unmute 385753607325075320`\n`%%unmute @Someone You are spamming a lot`", |
example: "`%%unmute 385753607325075320`\n`%%unmute @Someone You are spamming a lot`", |