1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 00:23:17 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-06-10 08:32:29 +03:00
parent 735dec1949
commit c065136b8a

View File

@ -37,7 +37,7 @@ client.on('message', async msg => {
} }
if (msg.content === '-restart') { if (msg.content === '-restart') {
if (msg.member.username !== 'Matte') { if (msg.member.username !== 'Matte') {
msg.channel.send(':x: I\'n´m sorry, You can\'t do that!') msg.channel.send(':x: I\'m sorry, but you can\'t do that!')
} }
if (msg.author.username === 'Matte') { if (msg.author.username === 'Matte') {
console.log('restarting...') console.log('restarting...')
@ -309,9 +309,9 @@ Please provide a value to select one of the search results ranging from 1-10.
} }
return msg.channel.send(':x: There is nothing playing.'); return msg.channel.send(':x: There is nothing playing.');
} }
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
} }
msg.channel.send(':x: Unknown command! Type -help for the list of commands!') msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
return undefined;
} }
}); });