-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommands.yml
362 lines (359 loc) · 7.77 KB
/
commands.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# Commands: Info can be found here https://github.com/FrogeBot/frogeBot/wiki/Commands
help:
type: script
path: commands/misc/help.js
category: Misc
description: "Shows the list of commands (usage: `help [page]`)"
options:
- type: INTEGER
name: page
description: The page of help to view
min_value: 1
avatar:
interactions:
- COMMAND
- USER
type: script
path: commands/misc/avatar.js
category: Misc
description: "Shows the avatar of the mentioned user (usage: `avatar [user]`)"
options:
- type: USER
name: user
description: The user to get the avatar of
cat:
type: script
path: commands/misc/cat.js
category: Misc
description: "Gets a random cat image"
frog:
type: script
path: commands/misc/frog.js
category: Misc
description: "Gets a random frog image"
dog:
type: script
path: commands/misc/dog.js
category: Misc
description: "Gets a random dog image"
stats:
type: script
path: commands/misc/stats.js
category: Misc
description: "Shows bot stats"
pixelate:
type: image
library: native
r: (input:0) || 8
r_type: int
list:
- pixelate:
params:
- (r)
title: Pixelate
category: Image
description: "Pixelates the supplied image (usage: `pixelate [amount = 0+]`)"
options:
- type: NUMBER
name: amount
description: The pixelation size to apply
min_value: 0
fliph:
type: image
library: native
list:
- flop
title: Flip H
category: Image
description: "Flips an image horizontally"
flipv:
type: image
library: native
list:
- flip
title: Flip V
category: Image
description: "Flips an image vertically"
blur:
type: image
library: native
r: (input:0) || 8
r_type: int>0
list:
- blur:
params:
- (r)
title: Blur
category: Image
description: "Blurs the supplied image (usage: `blur [amount = 0+]`)"
options:
- type: NUMBER
name: amount
description: The blur radius to apply
min_value: 0
fisheye:
type: script
path: commands/image/fisheye.js
category: Image
description: "Applies a fisheye effect to an image (usage: `fisheye [amount = 0+]`)"
options:
- type: NUMBER
name: amount
description: The fisheye strength to apply
min_value: 0
implode:
type: image
library: magick
r: (input:0) || 0.5
r_type: num
list:
- implode:
params:
- (r)
title: Implode
category: Image
description: "Implodes an image (usage: `implode [amount]`)"
options:
- type: NUMBER
name: amount
description: The implosion strength to apply
min_value: 0
explode:
type: image
library: magick
r: -(input:0) || -0.5
r_type: num
list:
- implode:
params:
- (r)
title: Explode
category: Image
description: "Explodes an image (usage: `explode [amount]`)"
options:
- type: NUMBER
name: amount
description: The explosion strength size to apply
min_value: 0
invert:
type: image
library: native
list:
- invert
title: Invert
category: Image
description: "Inverts an image"
greyscale:
type: image
library: native
list:
- greyscale
title: Greyscale
category: Image
description: "Applies a greyscale filter to the image"
jpeg:
type: script
path: commands/image/jpeg.js
category: Image
description: "Runs JPEG compression on an image (usage: `jpeg [quality = 0-100]`)"
options:
- type: NUMBER
name: amount
description: The JPEG quality to apply
min_value: 0
max_value: 100
jpeg2:
type: image
library: native
list:
- posterize:
params:
- 8
- pixelate:
params:
- 4
title: JPEG 2
category: Image
description: "Pixelates and applies colour banding to an image"
caption:
type: script
path: commands/image/caption.js
category: Image
description: "Adds a caption to an image (usage: `caption <text>`)"
options:
- type: STRING
name: text
description: The text to add to the image
caption2:
type: script
path: commands/image/caption2.js
category: Image
description: "Adds a caption of an alternate style to an image (usage: `caption2 <text>`)"
options:
- type: STRING
name: text
description: The text to add to the image
motivate:
type: script
path: commands/image/motivate.js
category: Image
description: "Adds a demotivational poster caption to an image (usage: `motivate <text> [bottom_text]`)"
options:
- type: STRING
name: text
description: The text to add to the image
- type: STRING
name: bottom_text
description: The second line of text to add to the image
impact:
type: script
path: commands/image/impact.js
category: Image
description: "Adds top and bottom text in the impact font (usage: `impact <text> [bottom_text]`)"
options:
- type: STRING
name: text
description: The text to add to the image
- type: STRING
name: bottom_text
description: The second line of text to add to the image
evenframes:
type: script
path: commands/image/evenframes.js
category: Image
description: "Returns a GIF image with only its even frames preserving the speed of the GIF."
speed:
type: script
path: commands/image/speed.js
category: Image
description: "Doubles the speed of a GIF"
slow:
type: script
path: commands/image/slow.js
category: Image
description: "Halves the speed of a GIF"
square:
type: image
library: jimp
list:
- cropSquare
title: Square
category: Image
description: "Crops the image to a square"
sepia:
type: image
library: native
list:
- sepia
title: Sepia
category: Image
description: "Applies a sepia filter to the image"
matoran:
type: script
path: commands/image/matoran.js
category: Image
description: "Creates matoran text (usage: `matoran <text>`)"
options:
- type: STRING
name: text
description: The text to use in the image
required: true
scale:
type: image
library: jimp
list:
- scale:
params:
- 2
title: Scale
category: Image
description: "Scales the image by 2"
nscale:
type: image
library: jimp
list:
- scale:
params:
- 2
- nearestNeighbor
title: Nearest Neighbor Scale
category: Image
description: "Scales the image by 2 using nearest neighbor scaling"
shrink:
type: image
library: jimp
list:
- scale:
params:
- 0.5
title: Shrink
category: Image
description: "Scales the image by 0.5"
booba:
type: script
path: commands/hidden/booba.js
hidden: true
floof:
type: script
path: commands/hidden/floof.js
hidden: true
play:
type: music
action: play
category: Music
description: "Play a song (usage: `play <query>`)"
p: # Alias of play
type: music
action: play
hidden: true
queue:
type: music
action: queue
category: Music
description: "Show the queued tracks (usage: `queue [page]`)"
q: # Alias of queue
type: music
action: queue
hidden: true
np:
type: music
action: nowPlaying
category: Music
description: "Show what's currently playing"
shuffle:
type: music
action: shuffle
category: Music
description: "Shuffles the queue"
skip:
type: music
action: next
category: Music
description: "Skip to the next song"
s: # Alias of skip
type: music
action: next
hidden: true
stop:
type: music
action: stop
category: Music
description: "Stops the music and clears the queue"
leave:
type: music
action: disconnect
category: Music
description: "Leave the voice channel if in one"
dc: # Alias of leave
type: music
action: disconnect
hidden: true
disconnect: # Alias of leave
type: music
action: disconnect
hidden: true
remove:
type: music
action: remove
category: Music
description: "Removes a song from the queue (Usage: `remove <index>`)"