score values
parent
32a7a554f1
commit
7d0f850640
|
@ -134,8 +134,8 @@ export default class Score extends Command {
|
||||||
let color = '🔴';
|
let color = '🔴';
|
||||||
let additionalText = 'POOR';
|
let additionalText = 'POOR';
|
||||||
embed.setColor('FF0000');
|
embed.setColor('FF0000');
|
||||||
if (score.total >= 300) { color = '🟠'; additionalText = 'FAIR'; embed.setColor('FFA500'); }
|
if (score.total >= 550) { color = '🟠'; additionalText = 'FAIR'; embed.setColor('FFA500'); }
|
||||||
if (score.total >= 500) { color = '🟡'; additionalText = 'GOOD'; embed.setColor('FFFF00'); }
|
if (score.total >= 630) { color = '🟡'; additionalText = 'GOOD'; embed.setColor('FFFF00'); }
|
||||||
if (score.total >= 700) { color = '🟢'; additionalText = 'EXCELLENT'; embed.setColor('66FF66'); }
|
if (score.total >= 700) { color = '🟢'; additionalText = 'EXCELLENT'; embed.setColor('66FF66'); }
|
||||||
if (score.total >= 770) { color = '<a:excp:756975350998892574>'; additionalText = 'EXCEPTIONAL'; embed.setColor('#99FFFF'); }
|
if (score.total >= 770) { color = '<a:excp:756975350998892574>'; additionalText = 'EXCEPTIONAL'; embed.setColor('#99FFFF'); }
|
||||||
embed.addField('Total | 200 to 800', `${color} ${totalScore} | ${additionalText}`, true);
|
embed.addField('Total | 200 to 800', `${color} ${totalScore} | ${additionalText}`, true);
|
||||||
|
|
Loading…
Reference in New Issue