2020-04-09 07:54:18 +00:00
|
|
|
exports.conf = {
|
|
|
|
enabled: true,
|
2020-04-11 14:40:35 +00:00
|
|
|
guildOnly: true,
|
2020-04-09 07:54:18 +00:00
|
|
|
aliases: [],
|
|
|
|
permLevel: 'User',
|
|
|
|
requiredPerms: [],
|
2020-04-12 09:21:38 +00:00
|
|
|
cooldown: 2000,
|
|
|
|
joinArguments: 1
|
2020-04-09 07:54:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
exports.help = {
|
|
|
|
name: 'play',
|
|
|
|
category: 'Music',
|
|
|
|
description: 'Plays or adds to queue requested music.',
|
|
|
|
usage: 'play [query]',
|
2020-04-12 09:15:31 +00:00
|
|
|
parameters: '[query] - A query to find video by or a link to the video.'
|
2020-04-09 07:54:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
exports.run = async (client, message, args, level, data) => {
|
2020-04-11 14:37:45 +00:00
|
|
|
await client.music.play(message, args[0]);
|
2020-04-11 14:09:48 +00:00
|
|
|
};
|