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 dispatchChannelColor = GuildDB.dispatchChannel ? `+ ` : '- ';
|
||||||
const botAdminRole = GuildDB.botAdmin ? `\n╚➤ <@&${GuildDB.botAdmin}>` : '';
|
const botAdminRole = GuildDB.botAdmin ? `\n╚➤ <@&${GuildDB.botAdmin}>` : '';
|
||||||
const botAdminRoleColor = GuildDB.botAdmin ? `+ ` : '- ';
|
const botAdminRoleColor = GuildDB.botAdmin ? `+ ` : '- ';
|
||||||
|
const workLimit = GuildDB.workLimiter;
|
||||||
|
|
||||||
const settingsEmbed = new EmbedBuilder()
|
const settingsEmbed = new EmbedBuilder()
|
||||||
.setColor(client.config.Colors.Default)
|
.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 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: '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: '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] });
|
return interaction.send({ embeds: [settingsEmbed] });
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ require('dotenv').config();
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
Dev: "PROD.",
|
Dev: "PROD.",
|
||||||
Version: "13.2.0", // (major).(feature).(revision/bug/refactoring)
|
Version: "13.2.1", // (major).(feature).(revision/bug/refactoring)
|
||||||
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
||||||
DefaultPrefix: "?",
|
DefaultPrefix: "?",
|
||||||
ServerID: "955668596745461830",
|
ServerID: "955668596745461830",
|
||||||
|
|||||||
Reference in new issue
Block a user