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.5.1", |
7 |
commands: [ |
commands: [ |
8 |
{ |
{ |
9 |
name: 'addsnippet', |
name: 'addsnippet', |
14 |
notes: null |
notes: null |
15 |
}, |
}, |
16 |
{ |
{ |
17 |
|
name: 'afk', |
18 |
|
shortBrief: "Keeps track of your mentions and tells other users that you're AFK.", |
19 |
|
description: null, |
20 |
|
structure: "[Reason]", |
21 |
|
example: "`%%afk`\n`%%afk Having dinner`", |
22 |
|
notes: null |
23 |
|
}, |
24 |
|
{ |
25 |
name: 'announce', |
name: 'announce', |
26 |
shortBrief: "Announce something in the given channel.", |
shortBrief: "Announce something in the given channel.", |
27 |
description: "Announce something in the given channel. The channel should be set in the configuration.", |
description: "Announce something in the given channel. The channel should be set in the configuration.", |
54 |
notes: null |
notes: null |
55 |
}, |
}, |
56 |
{ |
{ |
57 |
|
name: 'clear', |
58 |
|
shortBrief: "Clear all messages from a user.", |
59 |
|
description: "Clear all messages from a user, in the current channel. This might take a while.", |
60 |
|
structure: "<UserID|UserMention>", |
61 |
|
example: "`%%clear 83474924191884727`\n`%%clear @Someone`", |
62 |
|
notes: null |
63 |
|
}, |
64 |
|
{ |
65 |
name: 'delsnippet', |
name: 'delsnippet', |
66 |
shortBrief: "Deletes a snippet.", |
shortBrief: "Deletes a snippet.", |
67 |
description: null, |
description: null, |
102 |
notes: null |
notes: null |
103 |
}, |
}, |
104 |
{ |
{ |
105 |
|
name: 'history', |
106 |
|
shortBrief: "Show moderation history for a user.", |
107 |
|
description: null, |
108 |
|
structure: "<UserMention|UserID>", |
109 |
|
example: "`%%history 27372628277272625`\n`%%history @Someone`", |
110 |
|
notes: null |
111 |
|
}, |
112 |
|
{ |
113 |
name: 'httpcat', |
name: 'httpcat', |
114 |
shortBrief: "Get some funny cat memes related to HTTP.", |
shortBrief: "Get some funny cat memes related to HTTP.", |
115 |
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.", |
249 |
notes: null |
notes: null |
250 |
}, |
}, |
251 |
{ |
{ |
252 |
|
name: 'send', |
253 |
|
shortBrief: "Send a DM to a user.", |
254 |
|
description: null, |
255 |
|
structure: "<UserID|Mention> <content>", |
256 |
|
example: "`%%send 278358918549759428 Hello world`\n`%%send @Someone Hello world`", |
257 |
|
notes: null |
258 |
|
}, |
259 |
|
{ |
260 |
name: 'spamfilter', |
name: 'spamfilter', |
261 |
shortBrief: "Change the spam filter configuration keys.", |
shortBrief: "Change the spam filter configuration keys.", |
262 |
description: null, |
description: null, |
265 |
notes: null |
notes: null |
266 |
}, |
}, |
267 |
{ |
{ |
268 |
|
name: 'stats', |
269 |
|
shortBrief: "Show the server stats.", |
270 |
|
description: null, |
271 |
|
structure: "", |
272 |
|
example: "`%%stats", |
273 |
|
notes: null |
274 |
|
}, |
275 |
|
{ |
276 |
name: 'unban', |
name: 'unban', |
277 |
shortBrief: "Unban a user from this server.", |
shortBrief: "Unban a user from this server.", |
278 |
description: null, |
description: null, |
302 |
options: { |
options: { |
303 |
"--no-send": "Do not send a confirmation message to the locked channel", |
"--no-send": "Do not send a confirmation message to the locked channel", |
304 |
"--everyone": "Lock the channels for @everyone rather than the general role", |
"--everyone": "Lock the channels for @everyone rather than the general role", |
305 |
|
"--raid": "Unlock all Raid-locked channels" |
306 |
} |
} |
307 |
}, |
}, |
308 |
{ |
{ |