mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 00:35:56 +00:00
server settings: add action items channels to display
This commit is contained in:
parent
618332cfcd
commit
e551656955
1 changed files with 21 additions and 1 deletions
|
@ -64,6 +64,14 @@ module.exports = {
|
||||||
? serverSettings.emailDomains.join(", ")
|
? serverSettings.emailDomains.join(", ")
|
||||||
: "None";
|
: "None";
|
||||||
|
|
||||||
|
const actionItemsChannel = interaction.guild.channels.cache.get(
|
||||||
|
serverSettings.actionItemsChannelId
|
||||||
|
);
|
||||||
|
|
||||||
|
const actionItemsTargetChannel = interaction.guild.channels.cache.get(
|
||||||
|
serverSettings.actionItemsTargetChannelId
|
||||||
|
);
|
||||||
|
|
||||||
const settingsEmbed = new EmbedBuilder()
|
const settingsEmbed = new EmbedBuilder()
|
||||||
.setColor("#0099ff")
|
.setColor("#0099ff")
|
||||||
.setTitle("🌟 Current Server Settings 🌟")
|
.setTitle("🌟 Current Server Settings 🌟")
|
||||||
|
@ -85,7 +93,19 @@ module.exports = {
|
||||||
value: serverSettings.verifiedRoleName || "None",
|
value: serverSettings.verifiedRoleName || "None",
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{ name: "📧 Email Domains", value: emailDomains, inline: true }
|
{ name: "📧 Email Domains", value: emailDomains, inline: true },
|
||||||
|
{
|
||||||
|
name: "📋 Action Items Channel",
|
||||||
|
value: actionItemsChannel ? `<#${actionItemsChannel.id}>` : "None",
|
||||||
|
inline: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "🎯 Action Items Target Channel",
|
||||||
|
value: actionItemsTargetChannel
|
||||||
|
? `<#${actionItemsTargetChannel.id}>`
|
||||||
|
: "None",
|
||||||
|
inline: true,
|
||||||
|
}
|
||||||
)
|
)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setFooter({
|
.setFooter({
|
||||||
|
|
Loading…
Reference in a new issue