forked from embee/woomy
23 lines
574 B
JavaScript
23 lines
574 B
JavaScript
// Copyright 2020 Emily J. / mudkipscience. Subject to the AGPLv3 license.
|
|
|
|
exports.conf = {
|
|
enabled: true,
|
|
guildOnly: true,
|
|
aliases: [],
|
|
permLevel: 'User',
|
|
requiredPerms: [],
|
|
cooldown: 2000
|
|
}
|
|
|
|
exports.help = {
|
|
name: 'play',
|
|
category: 'Music',
|
|
description: 'Plays or adds to queue requested music.',
|
|
usage: 'play [query]',
|
|
parameters: '[query] - A query to find video by or a link to the video.'
|
|
}
|
|
|
|
const { play } = require('../utils/music')
|
|
exports.run = async (client, message, args, level, data) => {
|
|
await play(client, message, args.join(' '))
|
|
}
|