diff --git a/commands/settings.js b/commands/settings.js index b8bc672..4d416d3 100644 --- a/commands/settings.js +++ b/commands/settings.js @@ -1112,6 +1112,10 @@ module.exports = { const officerRoleColor = GuildDB.officerRole ? '+ ' : '- '; const oos = GuildDB.onlyOfficersSearch; // only officers search (oos) const oosColor = GuildDB.onlyOfficersSearch ? '+ ' : '- '; + const dispatchRole = GuildDB.dispatcherRole ? `\n╚➤ <@&${GuildDB.dispatcherRole}>` : ''; + const dispatchRoleColor = GuildDB.dispatcherRole ? `+ ` : '- '; + const dispatchChannel = GuildDB.dispatchChannel ? `\n╚➤ <#${GuildDB.dispatcherRole}>` : ''; + const dispatchChannelColor = GuildDB.dispatchChannel ? `+ ` : '- '; const settingsEmbed = new MessageEmbed() .setColor(client.config.EmbedColor) @@ -1127,6 +1131,8 @@ module.exports = { { name: 'Has Commercial Role?', value: `\`\`\`diff\n${commercialRoleColor}${client.exists(GuildDB.commercialRole)}\`\`\`${commercialRole}`, inline: true }, { name: 'Has Officer Role?', value: `\`\`\`diff\n${officerRoleColor}${client.exists(GuildDB.officerRole)}\`\`\`${officerRole}`, inline: true }, { name: 'Only Officers Search?', value: `\`\`\`diff\n${oosColor}${oos}\`\`\``, inline: true }, + { name: 'Has Disptach Role?', value: `\`\`\`diff\n${dispatchRoleColor}${client.exists(GuildDB.dispatcherRole)}\`\`\`${dispatchRole}`, inline: true }, + { name: 'Has Dispatch Channel?', value: `\`\`\`diff\n${dispatchChannelColor}${client.exists(GuildDB.dispatchChannel)}\`\`\`${dispatchChannel}`, inline: true }, ); return interaction.send({ embeds: [settingsEmbed] });