update/bold chart axies
This commit is contained in:
3 files changed
+47
-3
No files matched your search
@@ -105,7 +105,7 @@ module.exports = {
|
||||
|
||||
let stats = new EmbedBuilder()
|
||||
.setColor(client.config.Colors.Default)
|
||||
.setDescription(`${tag} stats for the ${weapon}`)
|
||||
.setDescription(`${tag} stats for the **${weapon}**`)
|
||||
.setThumbnail(weapons[weaponClass][weapon])
|
||||
.addFields(
|
||||
{ name: `Shots Landed`, value: `${player.weaponStats[weapon].shotsLanded}`, inline: true },
|
||||
@@ -138,6 +138,18 @@ module.exports = {
|
||||
],
|
||||
}],
|
||||
},
|
||||
options: {
|
||||
legend: {
|
||||
labels: {
|
||||
fontSize: 14,
|
||||
fontStyle: 'bold',
|
||||
}
|
||||
},
|
||||
scales: {
|
||||
yAxes: [{ ticks: { fontStyle: 'bold' } }],
|
||||
xAxes: [{ ticks: { fontStyle: 'bold' } }],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const encodedChart = encodeURIComponent(JSON.stringify(chart));
|
||||
|
||||
Reference in new issue
Block a user