mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -107,6 +107,6 @@ module.exports = class HorseRaceCommand extends Command {
|
||||
const min = Math.floor(time / 60);
|
||||
const sec = Math.floor(time - (min * 60));
|
||||
const ms = time - sec - (min * 60);
|
||||
return `${min}:${sec.padStart(2, '0')}.${ms.toFixed(4).slice(2)}`;
|
||||
return `${min}:${sec.toString().padStart(2, '0')}.${ms.toFixed(4).slice(2)}`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user