diff --git a/commands/player-stats.js b/commands/player-stats.js index 4541fff..bbf0e76 100644 --- a/commands/player-stats.js +++ b/commands/player-stats.js @@ -170,7 +170,7 @@ module.exports = { }; const encodedChart = encodeURIComponent(JSON.stringify(chart)); - const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}}`; + const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}`; statsEmbed.setImage(chartURL); @@ -199,7 +199,7 @@ module.exports = { }; const encodedChart = encodeURIComponent(JSON.stringify(chart)); - const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}}`; + const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}`; statsEmbed.setImage(chartURL); @@ -263,8 +263,8 @@ module.exports = { }; const encodedChart = encodeURIComponent(JSON.stringify(chart)); - const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}}`; - + const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}`; + statsEmbed.setImage(chartURL); } else statsEmbed.addFields({ name: title, value: stats, inline: true }); diff --git a/commands/weapon-stats.js b/commands/weapon-stats.js index 4d90464..bb4e145 100644 --- a/commands/weapon-stats.js +++ b/commands/weapon-stats.js @@ -141,7 +141,7 @@ module.exports = { }; const encodedChart = encodeURIComponent(JSON.stringify(chart)); - const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}}`; + const chartURL = `https://quickchart.io/chart?bkg=${encodeURIComponent("#ded8d7")}&c=${encodedChart}`; stats.setImage(chartURL); diff --git a/package.json b/package.json index f6316ff..585a68b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.3.3", + "version": "12.3.4", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {