тест кулдауна
This commit is contained in:
parent
ba50f2c0b8
commit
6265495f59
2
index.js
2
index.js
@ -394,7 +394,7 @@ if (statCooldown(msg.chat.id)) {
|
||||
const chatId = msg.chat.id;
|
||||
|
||||
const topUsers = getTopUsersByAverage(); // Получаем топ пользователей по среднему баллу
|
||||
|
||||
console.log(topUsers)
|
||||
if (topUsers.length === 0) {
|
||||
return bot.sendMessage(chatId, 'Статистика пока недоступна.');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user