Skip to content

Commit fc81627

Browse files
committed
Make music a slash command, misc fixes
1 parent a9f1270 commit fc81627

File tree

10 files changed

+430
-33
lines changed

10 files changed

+430
-33
lines changed

commands/Administrator/set.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Set extends Command {
1818
longDescription: 'Example: `-set edit welcomeEnabled true` will enable the welcome message.',
1919
category: 'Administrator',
2020
permLevel: 'Administrator',
21-
usage: 'set <view/get/edit> <key> <value>',
21+
usage: 'set <view/get/edit/del> <key> <value>',
2222
aliases: ['setting', 'settings'],
2323
guildOnly: true,
2424
});

commands/Music/leave-voice.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

commands/Music/now-playing.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ class NowPlaying extends Command {
2424
const em = new EmbedBuilder()
2525
.setDescription(
2626
stripIndents`
27-
Currently ${queue.node.isPlaying() ? 'Playing' : 'Paused'} ♪: [${song.title}](${song.url})
27+
Currently ${queue.node.isPlaying() ? 'Playing' : 'Paused'} ♪: [${song.title}](${song.url})
2828
29-
${queue.node.createProgressBar({ timecodes: true })}
29+
${queue.node.createProgressBar({ timecodes: true })}
3030
31-
Requested By: ${song.requestedBy}
31+
Requested By: ${song.requestedBy}
3232
`,
3333
)
3434
.setColor(msg.settings.embedColor)

commands/Music/queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Queue extends Command {
66
constructor(client) {
77
super(client, {
88
name: 'queue',
9-
description: 'Shows what is in the queue',
9+
description: 'See what songs are in the queue',
1010
category: 'Music',
1111
usage: 'queue [page]',
1212
aliases: ['q'],

commands/Music/remove.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class Remove extends Command {
3131
const tracks = queue.tracks.toArray();
3232
const song = tracks[num];
3333
queue.removeTrack(num);
34+
3435
return msg.channel.send(`\`${song.title}\` has been removed from the queue.`);
3536
}
3637
}

commands/Music/stop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Stop extends Command {
55
constructor(client) {
66
super(client, {
77
name: 'stop',
8-
description: 'Stops the music',
8+
description: 'Stop playing amd clear the queue',
99
category: 'Music',
1010
usage: 'stop',
1111
guildOnly: true,

commands/Music/volume.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Volume extends Command {
77
name: 'volume',
88
description: 'Change the volume of the music',
99
category: 'Music',
10-
usage: 'volume',
10+
usage: 'volume <1-100>',
1111
aliases: ['vol', 'v'],
1212
guildOnly: true,
1313
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mythical",
3-
"version": "5.0.0",
3+
"version": "5.1.0",
44
"description": "Mythical Bot",
55
"owner": "themondon",
66
"main": "index.js",

0 commit comments

Comments
 (0)