mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: added configurable fallback icon url for use in embeds
This commit is contained in:
1 parent
e47256a15e
commit
69fff97e38
16 files changed
+25
-22
No files matched your search
@@ -116,7 +116,7 @@ const command: CustomSlashCommandInteraction = {
|
||||
new EmbedBuilder()
|
||||
.setAuthor({
|
||||
name: `Channel: ${queue.channel!.name} (${queue.channel!.bitrate / 1000}kbps)`,
|
||||
iconURL: interaction.guild!.iconURL() || ''
|
||||
iconURL: interaction.guild!.iconURL() || embedOptions.info.fallbackIconUrl
|
||||
})
|
||||
.setDescription(
|
||||
`${repeatModeString}` + `**${embedOptions.icons.queue} Tracks in queue**\n${queueString}`
|
||||
@@ -153,7 +153,7 @@ const command: CustomSlashCommandInteraction = {
|
||||
new EmbedBuilder()
|
||||
.setAuthor({
|
||||
name: `Channel: ${queue.channel!.name} (${queue.channel!.bitrate / 1000}kbps)`,
|
||||
iconURL: interaction.guild!.iconURL() || ''
|
||||
iconURL: interaction.guild!.iconURL() || embedOptions.info.fallbackIconUrl
|
||||
})
|
||||
.setDescription(
|
||||
`**${embedOptions.icons.audioPlaying} Now playing**\n` +
|
||||
|
||||
Reference in new issue
Block a user