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:
parent
4680497b0e
commit
1d224327bf
2
index.js
2
index.js
@ -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')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user