fixed aliases

This commit is contained in:
Loic Bersier 2018-09-17 22:00:50 +02:00
parent b31ee408a0
commit df352774bd

View file

@ -4,7 +4,7 @@ module.exports = class MusicCommand extends Command {
constructor(client) { constructor(client) {
super(client, { super(client, {
name: 'music', name: 'music',
aliases: 'play', aliases: ['play'],
group: 'fun', group: 'fun',
memberName: 'music', memberName: 'music',
description: 'Play youtube link in vocal', description: 'Play youtube link in vocal',
@ -14,6 +14,7 @@ module.exports = class MusicCommand extends Command {
key: 'ytblink', key: 'ytblink',
prompt: 'Wich Youtube link would you like to play?\nTo stop the bot just do "haha music stop"', prompt: 'Wich Youtube link would you like to play?\nTo stop the bot just do "haha music stop"',
type: 'string', type: 'string',
default: 'https://www.youtube.com/watch?v=kJQP7kiw5Fk'
} }
] ]
}); });