mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
Update index.js
This commit is contained in:
parent
ac55c4ec9f
commit
49d9b04d05
6
index.js
6
index.js
@ -78,6 +78,12 @@ client.on('message', async msg => {
|
|||||||
msg.channel.send('Invite me with: https://bit.ly/2V3D0p7')
|
msg.channel.send('Invite me with: https://bit.ly/2V3D0p7')
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
if (command === `${PREFIX}forcestop`) {
|
||||||
|
if (msg.author.username === 'Matte') {
|
||||||
|
serverQueue.songs = [];
|
||||||
|
serverQueue.connection.dispatcher.end('forced to stop');
|
||||||
|
}
|
||||||
|
}
|
||||||
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')) {
|
||||||
const args = msg.content.split(' ');
|
const args = msg.content.split(' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user