3 |
const { escapeRegex } = require("../src/util"); |
const { escapeRegex } = require("../src/util"); |
4 |
|
|
5 |
module.exports = { |
module.exports = { |
6 |
version: "1.0.0-beta1", |
version: "1.4.0", |
7 |
commands: [ |
commands: [ |
8 |
{ |
{ |
9 |
name: 'addsnippet', |
name: 'addsnippet', |
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, |
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.", |
241 |
notes: null |
notes: null |
242 |
}, |
}, |
243 |
{ |
{ |
244 |
|
name: 'send', |
245 |
|
shortBrief: "Send a DM to a user.", |
246 |
|
description: null, |
247 |
|
structure: "<UserID|Mention> <content>", |
248 |
|
example: "`%%send 278358918549759428 Hello world`\n`%%send @Someone Hello world`", |
249 |
|
notes: null |
250 |
|
}, |
251 |
|
{ |
252 |
name: 'spamfilter', |
name: 'spamfilter', |
253 |
shortBrief: "Change the spam filter configuration keys.", |
shortBrief: "Change the spam filter configuration keys.", |
254 |
description: null, |
description: null, |
286 |
options: { |
options: { |
287 |
"--no-send": "Do not send a confirmation message to the locked channel", |
"--no-send": "Do not send a confirmation message to the locked channel", |
288 |
"--everyone": "Lock the channels for @everyone rather than the general role", |
"--everyone": "Lock the channels for @everyone rather than the general role", |
289 |
|
"--raid": "Unlock all Raid-locked channels" |
290 |
} |
} |
291 |
}, |
}, |
292 |
{ |
{ |