mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 14:53:17 +00:00
Update index.js
This commit is contained in:
parent
397ad03821
commit
c43698aa17
4
index.js
4
index.js
@ -68,7 +68,7 @@ client.on('message', async msg => {
|
||||
command = command.slice(PREFIX.length)
|
||||
|
||||
if (command === 'play') {
|
||||
return msg.channel.send(':x: I\'m sorry but Musix is currently unavaiable to playing music. :cry:')
|
||||
return msg.channel.send(':x: I\'m sorry but Musix is currently unable to play music. :cry:')
|
||||
if (!args[1]) return msg.channel.send(':x: I\'m sorry but you didn\'t specify a song');
|
||||
const voiceChannel = msg.member.voiceChannel;
|
||||
if (!voiceChannel) return msg.channel.send(':x: I\'m sorry but you need to be in a voice channel to play music!');
|
||||
@ -193,7 +193,7 @@ Please provide a value to select one of the search results ranging from __1-10__
|
||||
command = command.slice(PREFIX.length)
|
||||
|
||||
if (command === 'play') {
|
||||
return msg.channel.send(':x: I\'m sorry but Musix is currently unavaiable to playing music. :cry:')
|
||||
return msg.channel.send(':x: I\'m sorry but Musix is currently unable to play music. :cry:')
|
||||
if (!args[1]) return msg.channel.send(':x: I think you forgot what you wanted to play!');
|
||||
const voiceChannel = msg.member.voiceChannel;
|
||||
if (!voiceChannel) return msg.channel.send(':x: I\'m sorry but you need to be in a voice channel to play music!');
|
||||
|
Loading…
Reference in New Issue
Block a user