fix: added configurable fallback icon url for use in embeds

This commit is contained in:
Marius Begby committed 2023-08-29 20:32:26 +02:00
1 parent e47256a15e
commit 69fff97e38
16 files changed
+25 -22

No files matched your search

@@ -56,7 +56,7 @@ const component: CustomComponentInteraction = {
new EmbedBuilder()
.setAuthor({
name: authorName,
iconURL: interaction.user.avatarURL() || ''
iconURL: interaction.user.avatarURL() || embedOptions.info.fallbackIconUrl
})
.setDescription(
`**${embedOptions.icons.success} Disabled filters**\nAll audio filters have been disabled.`
@@ -104,7 +104,7 @@ const component: CustomComponentInteraction = {
new EmbedBuilder()
.setAuthor({
name: authorName,
iconURL: interaction.user.avatarURL() || ''
iconURL: interaction.user.avatarURL() || embedOptions.info.fallbackIconUrl
})
.setDescription(
`**${embedOptions.icons.skipped} Skipped track**\n**${durationFormat} [${skippedTrack.title}](${