-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.js
52 lines (50 loc) · 1.21 KB
/
commands.js
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
const COMMANDS = {};
COMMANDS.PLAYER = {
name: "player",
description: "Play lbry audio streams on a voice channel.",
options: [
{
name: "action",
description: "Trigger actions to control the player.",
type: 2,
options: [
{
name: "play",
description:
"Add stream to queue. If there is no stream playing it will start playing.",
type: 1,
options: [
{
name: "stream",
description:
"A valid lbry `url`, claim `id` or `lbry.tv` and `odysee.com` urls are also supported.",
type: 3,
required: true,
},
],
},
{
name: "resume",
description: "Resume paused stream.",
type: 1,
},
{
name: "pause",
description: "Pause current stream.",
type: 1,
},
{
name: "skip",
description: "Play next stream in queue.",
type: 1,
},
{
name: "stop",
description: "Disconnect from voice channel and clear queue.",
type: 1,
},
],
},
],
};
module.exports = COMMANDS;