13.2.1 update config view
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -925,6 +925,7 @@ module.exports = {
|
||||
const dispatchChannelColor = GuildDB.dispatchChannel ? `+ ` : '- ';
|
||||
const botAdminRole = GuildDB.botAdmin ? `\n╚➤ <@&${GuildDB.botAdmin}>` : '';
|
||||
const botAdminRoleColor = GuildDB.botAdmin ? `+ ` : '- ';
|
||||
const workLimit = GuildDB.workLimiter;
|
||||
|
||||
const settingsEmbed = new EmbedBuilder()
|
||||
.setColor(client.config.Colors.Default)
|
||||
@@ -944,6 +945,7 @@ module.exports = {
|
||||
{ name: 'Has Dispatch Channel?', value: `\`\`\`diff\n${dispatchChannelColor}${client.exists(GuildDB.dispatchChannel)}\`\`\`${dispatchChannel}`, inline: true },
|
||||
{ name: 'Has bot admin role?', value: `\`\`\`diff\n${botAdminRoleColor}${client.exists(GuildDB.botAdmin)}\`\`\`${botAdminRole}`, inline: true },
|
||||
{ name: 'Can Dismiss Invoices?', value: `\`\`\`diff\n${GuildDB.canDismissInvoices ? '+ ' : '- '}${GuildDB.canDismissInvoices}\`\`\``, inline: true },
|
||||
{ name: 'Work Limiter (Hours)', value: `\`\`\`${workLimit}hr\`\`\``, inline: true },
|
||||
);
|
||||
|
||||
return interaction.send({ embeds: [settingsEmbed] });
|
||||
|
||||
Reference in new issue
Block a user