Fixes to Scorestreaks Command

This commit is contained in:
ThunderE75 2022-02-01 16:05:44 +05:30
parent ff1cc6aae3
commit a1cdd5cd2a

View file

@ -133,7 +133,7 @@ module.exports = {
const embed = new MessageEmbed() const embed = new MessageEmbed()
.setTitle(d.scorestreak) .setTitle(d.scorestreak)
.setURL(d.preview_video) .setURL(d.preview_video)
.setDescription(`\`\`\`${d.description}\`\`\``) .setDescription(`<:nyx_description:897379659665264650> **Description** \`\`\`\n${d.description}\`\`\``)
.addFields( .addFields(
{ {
name: "Cost", name: "Cost",
@ -151,16 +151,16 @@ module.exports = {
{ {
name: "AI-Assisted", name: "AI-Assisted",
value: ` value: `
${d.manual == false ${d.manual != false
? "<a:nyx_checkmark:897240322411724841> Yes" ? "<a:nyx_checkmark:897240322411724841> Yes"
: "<a:nyx_cross:897244999211696198> No"}`, : "<a:nyx_cross:897244999211696198> No"}`,
inline: true inline: true
},
{
name: "More Info",
value: `\`\`\`${d.special}\`\`\``,
inline: false
} }
// {
// name: "More Info",
// value: `\`\`\`${d.special}\`\`\``,
// inline: false
// }
) )
.setThumbnail(`${d.preview}`) .setThumbnail(`${d.preview}`)
.setFooter(`Made by ${client.author}`, client.user.displayAvatarURL()) .setFooter(`Made by ${client.author}`, client.user.displayAvatarURL())