summaryrefslogtreecommitdiff
path: root/commands/voice
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-11 20:57:47 -0700
committer8cy <[email protected]>2020-04-11 20:57:47 -0700
commit6295d78afbfee11441dbd425cea6636e38049e86 (patch)
tree83a8351a6aaa70e9720fe14eb0062e2824b86db9 /commands/voice
parentfix server command, v2.1.2 (diff)
downloads5nical-6295d78afbfee11441dbd425cea6636e38049e86.tar.xz
s5nical-6295d78afbfee11441dbd425cea6636e38049e86.zip
add sharding + help stuff, v3.0.0
- add sharding - add examples - change up command aliases - formatting
Diffstat (limited to 'commands/voice')
-rw-r--r--commands/voice/abee.js1
-rw-r--r--commands/voice/fart.js3
-rw-r--r--commands/voice/itemshop.js3
-rw-r--r--commands/voice/join.js4
-rw-r--r--commands/voice/leave.js3
-rw-r--r--commands/voice/loop.js4
-rw-r--r--commands/voice/moan.js3
-rw-r--r--commands/voice/pause.js3
-rw-r--r--commands/voice/play.js5
-rw-r--r--commands/voice/psycho.js1
-rw-r--r--commands/voice/queue.js22
-rw-r--r--commands/voice/remove.js4
-rw-r--r--commands/voice/resume.js3
-rw-r--r--commands/voice/shuffle.js3
-rw-r--r--commands/voice/skip.js5
-rw-r--r--commands/voice/skipall.js14
-rw-r--r--commands/voice/skipto.js3
-rw-r--r--commands/voice/squeak.js3
-rw-r--r--commands/voice/volume.js6
-rw-r--r--commands/voice/wahoo.js3
20 files changed, 74 insertions, 22 deletions
diff --git a/commands/voice/abee.js b/commands/voice/abee.js
index 014ba74..a683b08 100644
--- a/commands/voice/abee.js
+++ b/commands/voice/abee.js
@@ -16,6 +16,7 @@ module.exports = class ABeeVoice extends Command {
description: 'a bee :D 🐝',
guildOnly: true,
clientPermissions: ['SPEAK', 'CONNECT'],
+ examples: ['s5n!abee', 's5n!a-bee']
});
}
async run(msg, { query }) {
diff --git a/commands/voice/fart.js b/commands/voice/fart.js
index f87ad84..dc17517 100644
--- a/commands/voice/fart.js
+++ b/commands/voice/fart.js
@@ -8,7 +8,8 @@ module.exports = class FartVoice extends Command {
group: 'voice',
memberName: 'fart',
description: 'gives you a random fart',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!fart']
});
}
async run(msg) {
diff --git a/commands/voice/itemshop.js b/commands/voice/itemshop.js
index 874bf7c..7a20b6a 100644
--- a/commands/voice/itemshop.js
+++ b/commands/voice/itemshop.js
@@ -10,12 +10,13 @@ module.exports = class ABeeVoice extends Command {
constructor(client) {
super(client, {
name: 'itemshop',
- aliases: ['is'],
+ aliases: ['item-shop'],
group: 'voice',
memberName: 'itemshop',
description: 'use code frozen in the itemshop',
guildOnly: true,
clientPermissions: ['SPEAK', 'CONNECT'],
+ examples: ['s5n!itemshop', 's5n!item-shop']
});
}
async run(msg, { query }) {
diff --git a/commands/voice/join.js b/commands/voice/join.js
index fa742c3..9ee6f9d 100644
--- a/commands/voice/join.js
+++ b/commands/voice/join.js
@@ -5,7 +5,6 @@ module.exports = class JoinVoice extends Command {
constructor(client) {
super(client, {
name: 'join',
- aliases: ['j'],
group: 'voice',
memberName: 'join',
description: 'joins your voice channel',
@@ -13,7 +12,8 @@ module.exports = class JoinVoice extends Command {
usages: 2,
duration: 5
},
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!join']
});
}
run(msg) {
diff --git a/commands/voice/leave.js b/commands/voice/leave.js
index 1621336..4779e9f 100644
--- a/commands/voice/leave.js
+++ b/commands/voice/leave.js
@@ -9,7 +9,8 @@ module.exports = class LeaveVoice extends Command {
group: 'voice',
memberName: 'leave',
description: 'stops voice channel if any playing',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!leave', 's5n!end', 's5n!stop']
});
}
run(msg) {
diff --git a/commands/voice/loop.js b/commands/voice/loop.js
index 967130c..01bf48d 100644
--- a/commands/voice/loop.js
+++ b/commands/voice/loop.js
@@ -5,10 +5,12 @@ module.exports = class LoopVoice extends Command {
constructor(client) {
super(client, {
name: 'loop',
+ aliases: ['repeat'],
group: 'voice',
memberName: 'loop',
description: 'loops currently playing audio',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!loop', 's5n!repeat']
});
}
run(msg) {
diff --git a/commands/voice/moan.js b/commands/voice/moan.js
index a28480f..fbfb191 100644
--- a/commands/voice/moan.js
+++ b/commands/voice/moan.js
@@ -9,7 +9,8 @@ module.exports = class MoanVoice extends Command {
group: 'voice',
memberName: 'moan',
description: 'uhhhh',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!moan', 's5n!uhhhh']
});
}
async run(msg) {
diff --git a/commands/voice/pause.js b/commands/voice/pause.js
index 1dd5a17..76324c5 100644
--- a/commands/voice/pause.js
+++ b/commands/voice/pause.js
@@ -8,7 +8,8 @@ module.exports = class PauseVoice extends Command {
group: 'voice',
memberName: 'pause',
description: 'pauses music if there is any playing',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!pause']
});
}
run(msg) {
diff --git a/commands/voice/play.js b/commands/voice/play.js
index 28fbae8..68e41a8 100644
--- a/commands/voice/play.js
+++ b/commands/voice/play.js
@@ -10,7 +10,6 @@ module.exports = class PlayVoice extends Command {
constructor(client) {
super(client, {
name: 'play',
- aliases: ['p'],
group: 'voice',
memberName: 'play',
description: 'play a youtube video',
@@ -25,6 +24,10 @@ module.exports = class PlayVoice extends Command {
return query.length > 0 && query.length < 200;
}
}
+ ],
+ examples: [
+ 's5n!play https://www.youtube.com/watch?v=dQw4w9WgXcQ',
+ 's5n!play despacito'
]
});
}
diff --git a/commands/voice/psycho.js b/commands/voice/psycho.js
index 905a7b7..9676b27 100644
--- a/commands/voice/psycho.js
+++ b/commands/voice/psycho.js
@@ -15,6 +15,7 @@ module.exports = class PsychoVoice extends Command {
description: 'plays the psycho by mase',
guildOnly: true,
clientPermissions: ['SPEAK', 'CONNECT'],
+ examples: ['s5n!psycho']
});
}
async run(msg, { query }) {
diff --git a/commands/voice/queue.js b/commands/voice/queue.js
index 349380d..f9dff73 100644
--- a/commands/voice/queue.js
+++ b/commands/voice/queue.js
@@ -6,11 +6,29 @@ module.exports = class QueueVoice extends Command {
constructor(client) {
super(client, {
name: 'queue',
- aliases: ['q', 'song-list', 'next-songs'],
+ aliases: [
+ 'q',
+ 'song-list',
+ 'next-songs',
+ 'songlist',
+ 'nextsongs',
+ 'nextsong',
+ 'next-song'
+ ],
group: 'voice',
memberName: 'queue',
description: 'display song queue',
- guildOnly: true
+ guildOnly: true,
+ examples: [
+ 's5n!queue',
+ 's5n!q',
+ 's5n!songlist',
+ 's5n!song-list',
+ 's5n!nextsong',
+ 's5n!next-song',
+ 's5n!nextsongs',
+ 's5n!next-songs'
+ ]
});
}
run(msg) {
diff --git a/commands/voice/remove.js b/commands/voice/remove.js
index 43650de..370dd51 100644
--- a/commands/voice/remove.js
+++ b/commands/voice/remove.js
@@ -5,7 +5,6 @@ module.exports = class RemoveVoice extends Command {
constructor(client) {
super(client, {
name: 'remove',
- aliases: ['rem'],
group: 'voice',
memberName: 'remove',
description: 'removes a song from the queue',
@@ -16,7 +15,8 @@ module.exports = class RemoveVoice extends Command {
prompt: 'what song u want to remove from q?',
type: 'integer'
}
- ]
+ ],
+ examples: ['s5n!remove 2']
});
}
run(msg, { songNumber }) {
diff --git a/commands/voice/resume.js b/commands/voice/resume.js
index 74b555b..1966d3a 100644
--- a/commands/voice/resume.js
+++ b/commands/voice/resume.js
@@ -8,7 +8,8 @@ module.exports = class ResumeVoice extends Command {
group: 'voice',
memberName: 'resume',
description: 'resumes music if there is any stopped',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!resume']
});
}
run(msg) {
diff --git a/commands/voice/shuffle.js b/commands/voice/shuffle.js
index 2cf9fe2..0f9210c 100644
--- a/commands/voice/shuffle.js
+++ b/commands/voice/shuffle.js
@@ -9,7 +9,8 @@ module.exports = class ShuffleVoice extends Command {
group: 'voice',
memberName: 'shuffle',
description: 'shuffle the queue',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!shuffle']
});
}
run(msg) {
diff --git a/commands/voice/skip.js b/commands/voice/skip.js
index 5c5611b..075cc06 100644
--- a/commands/voice/skip.js
+++ b/commands/voice/skip.js
@@ -7,8 +7,9 @@ module.exports = class SkipVoice extends Command {
name: 'skip',
group: 'voice',
memberName: 'skip',
- description: 'skip 1 song in the queue',
- guildOnly: true
+ description: 'skip 1 song ahead in the queue',
+ guildOnly: true,
+ examples: ['s5n!skip']
});
}
run(msg) {
diff --git a/commands/voice/skipall.js b/commands/voice/skipall.js
index 202845d..65d5490 100644
--- a/commands/voice/skipall.js
+++ b/commands/voice/skipall.js
@@ -5,10 +5,22 @@ module.exports = class SkipAllVoice extends Command {
constructor(client) {
super(client, {
name: 'skipall',
+ aliases: [
+ 'endqueue',
+ 'endq',
+ 'skipqueue',
+ 'skipq'
+ ],
group: 'voice',
memberName: 'skipall',
description: 'skip all songs in the queue',
- guildOnly: true
+ guildOnly: true,
+ examples: [
+ 's5n!endqueue',
+ 's5n!endq',
+ 's5n!skipqueue',
+ 's5n!skipq'
+ ]
});
}
run(msg) {
diff --git a/commands/voice/skipto.js b/commands/voice/skipto.js
index 78bf5df..86bff00 100644
--- a/commands/voice/skipto.js
+++ b/commands/voice/skipto.js
@@ -13,7 +13,8 @@ module.exports = class SkipToVoice extends Command {
key: 'songNumber',
prompt: 'what song u want to skip 2 in da q ???',
type: 'integer'
- }]
+ }],
+ examples: ['s5n!skipto 5']
});
}
run(msg, { songNumber }) {
diff --git a/commands/voice/squeak.js b/commands/voice/squeak.js
index e9b54ab..04b664f 100644
--- a/commands/voice/squeak.js
+++ b/commands/voice/squeak.js
@@ -8,7 +8,8 @@ module.exports = class SqueakVoice extends Command {
group: 'voice',
memberName: 'squeak',
description: 'squeak',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!queak']
});
}
async run(msg) {
diff --git a/commands/voice/volume.js b/commands/voice/volume.js
index bebcf61..b8090ff 100644
--- a/commands/voice/volume.js
+++ b/commands/voice/volume.js
@@ -5,7 +5,7 @@ module.exports = class VolumeVoice extends Command {
constructor(client) {
super(client, {
name: 'volume',
- aliases: ['vol', 'v'],
+ aliases: ['vol'],
group: 'voice',
memberName: 'volume',
description: 'changes volume of audio if playing',
@@ -17,6 +17,10 @@ module.exports = class VolumeVoice extends Command {
type: 'integer',
validate: wantedVol => wantedVol >= 1 && wantedVol <= 200
}
+ ],
+ examples: [
+ 's5n!volume 20',
+ 's5n!vol 50'
]
});
}
diff --git a/commands/voice/wahoo.js b/commands/voice/wahoo.js
index 6a478c0..d815b8d 100644
--- a/commands/voice/wahoo.js
+++ b/commands/voice/wahoo.js
@@ -9,7 +9,8 @@ module.exports = class WahooVoice extends Command {
group: 'voice',
memberName: 'wahoo',
description: 'wahoo',
- guildOnly: true
+ guildOnly: true,
+ examples: ['s5n!wahoo', 's5n!mario']
});
}
async run(msg) {