mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
Update index.js
This commit is contained in:
parent
2a0d3aab24
commit
99e5c6903d
4
index.js
4
index.js
@ -200,12 +200,12 @@ Please provide a value to select one of the search results ranging from __1-10__
|
||||
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
|
||||
return undefined;
|
||||
}
|
||||
if (msg.content === `${PREFIX}`) return;
|
||||
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
|
||||
if (!msg.member.roles.find(x => x.name === 'DJ')) {
|
||||
msg.channel.send(':x: i\'m sorry but you need to have the \'DJ\' role use music commands!')
|
||||
return;
|
||||
}
|
||||
if (msg.content === `${PREFIX}`) return;
|
||||
msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
|
||||
}
|
||||
else {
|
||||
const args = msg.content.split(' ');
|
||||
|
Loading…
Reference in New Issue
Block a user