This commit is contained in:
Lukáš Horáček 2020-04-09 09:54:18 +02:00
parent 019b8a03e4
commit 1b013581de
No known key found for this signature in database
GPG key ID: E07D6630DBC17195
3 changed files with 120 additions and 3 deletions

20
commands/play.js Normal file
View file

@ -0,0 +1,20 @@
exports.conf = {
enabled: true,
guildOnly: false,
aliases: [],
permLevel: 'User',
requiredPerms: [],
cooldown: 2000
}
exports.help = {
name: 'play',
category: 'Music',
description: 'Plays or adds to queue requested music.',
usage: 'play [query]',
params: '[query] - A query to find video by or a link to the video.'
}
exports.run = async (client, message, args, level, data) => {
client.music.play(message, args[0]);
}