Skip to content

Commit

Permalink
Make music a slash command, misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Nov 14, 2023
1 parent a9f1270 commit fc81627
Show file tree
Hide file tree
Showing 10 changed files with 430 additions and 33 deletions.
2 changes: 1 addition & 1 deletion commands/Administrator/set.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Set extends Command {
longDescription: 'Example: `-set edit welcomeEnabled true` will enable the welcome message.',
category: 'Administrator',
permLevel: 'Administrator',
usage: 'set <view/get/edit> <key> <value>',
usage: 'set <view/get/edit/del> <key> <value>',
aliases: ['setting', 'settings'],
guildOnly: true,
});
Expand Down
24 changes: 0 additions & 24 deletions commands/Music/leave-voice.js

This file was deleted.

6 changes: 3 additions & 3 deletions commands/Music/now-playing.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class NowPlaying extends Command {
const em = new EmbedBuilder()
.setDescription(
stripIndents`
Currently ${queue.node.isPlaying() ? 'Playing' : 'Paused'} ♪: [${song.title}](${song.url})
Currently ${queue.node.isPlaying() ? 'Playing' : 'Paused'} ♪: [${song.title}](${song.url})
${queue.node.createProgressBar({ timecodes: true })}
${queue.node.createProgressBar({ timecodes: true })}
Requested By: ${song.requestedBy}
Requested By: ${song.requestedBy}
`,
)
.setColor(msg.settings.embedColor)
Expand Down
2 changes: 1 addition & 1 deletion commands/Music/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Queue extends Command {
constructor(client) {
super(client, {
name: 'queue',
description: 'Shows what is in the queue',
description: 'See what songs are in the queue',
category: 'Music',
usage: 'queue [page]',
aliases: ['q'],
Expand Down
1 change: 1 addition & 0 deletions commands/Music/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Remove extends Command {
const tracks = queue.tracks.toArray();
const song = tracks[num];
queue.removeTrack(num);

return msg.channel.send(`\`${song.title}\` has been removed from the queue.`);
}
}
Expand Down
2 changes: 1 addition & 1 deletion commands/Music/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Stop extends Command {
constructor(client) {
super(client, {
name: 'stop',
description: 'Stops the music',
description: 'Stop playing amd clear the queue',
category: 'Music',
usage: 'stop',
guildOnly: true,
Expand Down
2 changes: 1 addition & 1 deletion commands/Music/volume.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Volume extends Command {
name: 'volume',
description: 'Change the volume of the music',
category: 'Music',
usage: 'volume',
usage: 'volume <1-100>',
aliases: ['vol', 'v'],
guildOnly: true,
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mythical",
"version": "5.0.0",
"version": "5.1.0",
"description": "Mythical Bot",
"owner": "themondon",
"main": "index.js",
Expand Down
Loading

0 comments on commit fc81627

Please sign in to comment.