nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit 07415138510a1cca1fff9db2c95bce1ddcff56b9
parent e6949c1fc49f67ae1c3d7574d3c9602bd0419676
Author: ThunderE75 <[email protected]>
Date:   Thu, 27 Jan 2022 11:19:42 +0530

Fixed Embed for Scorestreaks
Diffstat:
Mcommand/CODM/scorestreak.js | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/command/CODM/scorestreak.js b/command/CODM/scorestreak.js @@ -136,7 +136,7 @@ module.exports = { .addFields( { name: "Cost", - value: `\`\`\`${d.cost}\`\`\``, + value: `${d.cost}`, inline: true, }, { @@ -151,7 +151,13 @@ module.exports = { }, { name: "More Info", - value: `\`\`\`${d.special ? d.special : "** **"}\`\`\``, + value: `\`\`\` + ${ + d.special + ? d.special + : "" + } + \`\`\``, inline: false, } )