Scorekeeper command output formatting changes.
This commit is contained in:
parent
5c3ee39fa6
commit
f7a9ecee86
@ -430,16 +430,19 @@ export const commands = [
|
||||
.setThumbnail(targetUser.displayAvatarURL())
|
||||
.addFields(
|
||||
{ name: 'Total Score', value: `**${scoreData.totalScore.toFixed(2)}**`, inline: false },
|
||||
{ name: 'Commendations', value: `**${scoreData.commendations}** x ${commendationValue}`, inline: false },
|
||||
{ name: 'Citations', value: `**${scoreData.citations}** x ${citationValue}`, inline: false },
|
||||
{ name: 'Commendations', value: `**${scoreData.commendations}**`, inline: false },
|
||||
{ name: 'Citations', value: `**${scoreData.citations}**`, inline: false },
|
||||
{ name: 'Input Score', value: `**${scoreData.input}**`, inline: true },
|
||||
{ name: 'Output Score', value: `**${scoreData.output}** + ${baseOutput}`, inline: true }
|
||||
{ name: 'Output Score', value: `**${scoreData.output}**`, inline: true }
|
||||
)
|
||||
.addFields({
|
||||
name: 'Formula',
|
||||
value:
|
||||
`M = 1 + **${scoreData.commendations}** * ${commendationValue} - **${scoreData.citations}** * ${citationValue}\n` +
|
||||
`M × **${scoreData.input}** / (**${scoreData.output}** + ${baseOutput}) = **${scoreData.totalScore.toFixed(2)}**`,
|
||||
`CV = ${commendationValue}\n` +
|
||||
`CiV = ${citationValue}\n` +
|
||||
`BO = ${baseOutput}\n` +
|
||||
`M = 1 + **${scoreData.commendations}** × CV - **${scoreData.citations}** × CiV\n` +
|
||||
`M × **${scoreData.input}** / (**${scoreData.output}** + BO) = **${scoreData.totalScore.toFixed(2)}**`,
|
||||
inline: false
|
||||
})
|
||||
.setFooter({ text: 'Last decay: ' + new Date(scoreData.lastDecay).toLocaleDateString() })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user