!, Priyanshu
!, Priyanshu
Explore posts from servers
SIASapphire - Imagine a framework
Created by !, Priyanshu on 12/12/2023 in #sapphire-support
Code has errors
const embed = {
title: `Chapter: ${chapter}, Verse: ${verse}`,
description: `**Shlok:**\`\`\`${shlok}\`\`\`\n\n**Transliteration:**\`\`\`${transliteration}\`\`\`\n\n**Explanation:** \`\`\`${tej}\`\`\``,
color: 0x262733,
footer: {
text: `English Translation:\n${trans} `,
},
components: [
new ActionRowBuilder().addComponents(
new ButtonBuilder()
.setStyle(ButtonStyle.Link)
.setLabel('Read More')
.setURL(`https://www.holy-bhagavad-gita.org/chapter/${chapter}/verse/${verse}`)
),
],
};
const embed = {
title: `Chapter: ${chapter}, Verse: ${verse}`,
description: `**Shlok:**\`\`\`${shlok}\`\`\`\n\n**Transliteration:**\`\`\`${transliteration}\`\`\`\n\n**Explanation:** \`\`\`${tej}\`\`\``,
color: 0x262733,
footer: {
text: `English Translation:\n${trans} `,
},
components: [
new ActionRowBuilder().addComponents(
new ButtonBuilder()
.setStyle(ButtonStyle.Link)
.setLabel('Read More')
.setURL(`https://www.holy-bhagavad-gita.org/chapter/${chapter}/verse/${verse}`)
),
],
};
8 replies