polish
This commit is contained in:
parent
a31dc02568
commit
5c6938369d
8 changed files with 31 additions and 25 deletions
|
@ -21,8 +21,8 @@ const { getGuild } = require('../utils/music')
|
|||
module.exports.run = (client, message, args, level) => {
|
||||
var queue = getGuild(message.guild.id).queue
|
||||
|
||||
if (queue.length < 3) {
|
||||
return message.channel.send('Not enough songs are in the queue for this command to work!')
|
||||
if (queue.length < 4) {
|
||||
return message.channel.send('<:error:466995152976871434> There aren\'t enough songs are in the queue for this command to work!')
|
||||
}
|
||||
|
||||
const max = queue.length - 1
|
||||
|
@ -34,5 +34,5 @@ module.exports.run = (client, message, args, level) => {
|
|||
queue[i] = itemAtIndex
|
||||
}
|
||||
|
||||
message.channel.send('Queue shuffled!')
|
||||
message.channel.send('<:success:466995111885144095> Queue shuffled!')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue