1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00
This commit is contained in:
MatteZ02 2020-04-06 21:57:45 +03:00
parent 0aea99755c
commit 0af2ca1d44
4 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,8 @@ module.exports = {
permission: 'MANAGE_GUILD',
category: 'util',
async execute(msg, args, client, Discord, command) {
let footer;
footer = client.messages.settingsFooter.replace("%PREFIX%", client.global.db.guilds[msg.guild.id].prefix);
const embed = new Discord.MessageEmbed()
.setTitle(client.messages.settingsTitle)
.addField(client.messages.settingsPrefix, client.messages.settingsPrefixDesc, true)
@ -15,7 +17,7 @@ module.exports = {
.addField(client.messages.settingsSetDj, client.messages.settingsSetDjDesc, true)
.addField(client.messages.settingsAnnounceSongs, client.messages.settingsAnnounceSongsDesc)
.addField(client.messages.settingsBass, client.messages.settingsBassDesc, true)
.setFooter(client.messages.settingsFooter)
.setFooter(footer)
.setAuthor(client.user.username, client.user.displayAvatarURL)
.setColor(client.config.embedColor)
const permissions = msg.channel.permissionsFor(msg.author);

View File

@ -4,7 +4,7 @@ module.exports = {
if (!args[2]) return msg.channel.send(client.messages.currentDefaultBass + client.global.db.guilds[msg.guild.id].bass);
if (args[2] === "false") {
client.global.db.guilds[msg.guild.id].bass = false;
msg.channel.send(client.messages.bassFalse);
return msg.channel.send(client.messages.bassFalse);
}
const level = parseInt(args[2]);
if (isNaN(level)) return msg.channel.send(client.messages.validNumber);

View File

@ -2,7 +2,7 @@ module.exports = {
garbage: "🗑️ ",
green_check_mark: "<:green_check_mark:674265384777416705> ",
loading: "<a:loading:674284196700618783> ",
loudSoung: ":loud_sound: ",
loudSound: ":loud_sound: ",
megaPhone: "📣 ",
notes: "<a:aNotes:674602408105476106>",
pause: "<:pause:674685548610322462> ",
@ -15,6 +15,6 @@ module.exports = {
skip: "<:skip:674685614221688832> ",
speaker: ":speaker: ",
stop: "<:stop:674685626108477519> ",
stopwatch: ":stopWatch: ",
stopWatch: ":stopWatch: ",
volumeHigh: "<:volumehigh:674685637626167307> "
}

View File

@ -122,7 +122,7 @@ module.exports = {
statusField3: emojis.stopWatch + "Uptime",
statusField4: "Shard: ",
statusTitle: "Status for Musix",
stop: "Stopped the music!",
stop: emojis.stop + "Stopped the music!",
validNumber: emojis.redx + "I'm sorry, But you need to enter a valid __number__.",
wrongVoiceChannel: emojis.redx + "I'm sorry but you need to be in the same voice channel as Musix to use this command!",
};