fix code format

This commit is contained in:
Emily 2020-04-13 14:28:53 +10:00
parent a067c957c1
commit 9fd2c873ca
5 changed files with 136 additions and 144 deletions

View file

@ -4,8 +4,7 @@ exports.conf = {
aliases: [],
permLevel: 'User',
requiredPerms: [],
cooldown: 2000,
joinArguments: 1
cooldown: 2000
}
exports.help = {
@ -16,6 +15,6 @@ exports.help = {
parameters: '[query] - A query to find video by or a link to the video.'
}
exports.run = async (client, message, args, level, data) => {
await client.music.play(message, args[0]);
};
exports.run = async (client, message, [...args], level, data) => {
await client.music.play(message, args)
}