mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
Update index.js
This commit is contained in:
parent
e24b4f0899
commit
bc636ce416
7
index.js
7
index.js
@ -52,13 +52,12 @@ client.on('message', msg => {
|
|||||||
}
|
}
|
||||||
if (msg.content === `${PREFIX}info`) {
|
if (msg.content === `${PREFIX}info`) {
|
||||||
var dj = msg.guild.roles.find(x => x.name === 'DJ') ? true : false;
|
var dj = msg.guild.roles.find(x => x.name === 'DJ') ? true : false;
|
||||||
var line = '**>-----------------------------------------------------------------------<**';
|
|
||||||
const embed = new Discord.RichEmbed()
|
const embed = new Discord.RichEmbed()
|
||||||
.setTitle('**Musix instructions and info**:')
|
.setTitle('**Musix instructions and info**:')
|
||||||
.addField('On any errors you should use the !stop command end reset the queue.', line, true)
|
.addField('On any errors you should use the !stop command end reset the queue.', 'Remember to __try again__ before contacting support!', true)
|
||||||
.addField('If your guild has a role called \'DJ\' you will need it to play music! If you don\'t, Everyone can play music.', 'DJ role existance: ' + dj, true)
|
.addField('If your guild has a role called \'DJ\' you will need it to play music! If you don\'t, Everyone can play music.', 'DJ role existance: ' + dj, true)
|
||||||
.addField('Musix support server: https://discord.gg/rvHuJtB', line, true)
|
.addField('Musix support server', 'https://discord.gg/rvHuJtB', true)
|
||||||
.addField('If you have any problems with musix please contact Matte#5254!', line, true)
|
.addField('If you have any problems with musix please contact Matte#5254!', '(creator and developer of Musix)', true)
|
||||||
.setAuthor('Musix', 'https://cdn.discordapp.com/avatars/572405135658188800/04c6f22b7600ddecfbc245dd3ec10f9f.png?size=2048')
|
.setAuthor('Musix', 'https://cdn.discordapp.com/avatars/572405135658188800/04c6f22b7600ddecfbc245dd3ec10f9f.png?size=2048')
|
||||||
.setColor('#b50002')
|
.setColor('#b50002')
|
||||||
msg.channel.send(embed);
|
msg.channel.send(embed);
|
||||||
|
Loading…
Reference in New Issue
Block a user