mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Нормальная генерация случайных чисел в number
This commit is contained in:
parent
5d81de4a83
commit
fa8168b8c6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class Number extends Command {
|
||||||
if (currentGames[message.guild.id]) return message.error("fun/number:GAME_RUNNING");
|
if (currentGames[message.guild.id]) return message.error("fun/number:GAME_RUNNING");
|
||||||
|
|
||||||
const participants = [],
|
const participants = [],
|
||||||
number = Math.floor(Math.random() * 3000);
|
number = ath.floor(this.client.functions.randomNum(100, 10000));
|
||||||
|
|
||||||
await message.sendT("fun/number:GAME_START");
|
await message.sendT("fun/number:GAME_START");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue