mirror of
https://github.com/musix-org/musix-oss
synced 2025-01-22 19:53:42 +00:00
Update index.js
This commit is contained in:
parent
6b70f6599d
commit
a33fcd9c40
2
index.js
2
index.js
@ -89,7 +89,7 @@ client.on('message', async msg => {
|
|||||||
if (msg.member.guild.roles.find(x => x.name === 'DJ')) {
|
if (msg.member.guild.roles.find(x => x.name === 'DJ')) {
|
||||||
if (!msg.member.roles.find(x => x.name === 'DJ')) {
|
if (!msg.member.roles.find(x => x.name === 'DJ')) {
|
||||||
if (msg.content === `${PREFIX}invite`) {
|
if (msg.content === `${PREFIX}invite`) {
|
||||||
return undefined
|
return undefined;
|
||||||
}
|
}
|
||||||
msg.channel.send(':x: i\'m sorry you need to have the \'DJ\' role!')
|
msg.channel.send(':x: i\'m sorry you need to have the \'DJ\' role!')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user