3 |
const { escapeRegex } = require("../src/util"); |
const { escapeRegex } = require("../src/util"); |
4 |
|
|
5 |
module.exports = { |
module.exports = { |
6 |
version: "1.2.0-beta", |
version: "1.3.0-beta", |
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.", |