mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: always absolute deltas
This commit is contained in:
1 parent
f083c18dd0
commit
2993ada2e5
1 file changed
+6
-2
@@ -181,7 +181,9 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
|
|||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{delta.score.toLocaleString(interaction.locale)}
|
{Math.abs(delta.score).toLocaleString(
|
||||||
|
interaction.locale,
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@@ -214,7 +216,9 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
|
|||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{positionDelta.toLocaleString(interaction.locale)}
|
{Math.abs(positionDelta).toLocaleString(
|
||||||
|
interaction.locale,
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user