music stuff again

This commit is contained in:
Lukáš Horáček 2020-04-11 16:37:45 +02:00
parent 7340ef1af3
commit 7743bf6ef4
No known key found for this signature in database
GPG key ID: E07D6630DBC17195
2 changed files with 2 additions and 2 deletions

View file

@ -16,5 +16,5 @@ exports.help = {
}
exports.run = async (client, message, args, level, data) => {
client.music.play(message, args[0]);
await client.music.play(message, args[0]);
};

View file

@ -114,7 +114,7 @@ module.exports = client => {
// Figure out if the bot should add it to queue or play it right now
if(guild.playing) {
message.reply('added **' + video.snippet.title + '** to the queue');
} else {
guild.playing = true;