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-07-10 14:18:20 +03:00
parent 4680497b0e
commit 1d224327bf

View File

@ -187,7 +187,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join('\n')}
return undefined; return undefined;
} }
if (msg.content === `${PREFIX}`) return; if (msg.content === `${PREFIX}`) return;
var coms = ['-play','-queue','-np','-volume','-pause','-resume','-stop','-skip','-forcestop'] var coms = ['-play','-queue','-np','-volume','-pause','-resume','-stop','-skip']
for (var i = 0; i < coms.length; i++) { for (var i = 0; i < coms.length; i++) {
if (msg.content.includes(coms[i])) { if (msg.content.includes(coms[i])) {
if (!msg.member.roles.find(x => x.name === 'DJ')) { if (!msg.member.roles.find(x => x.name === 'DJ')) {