тест кулдауна

This commit is contained in:
Vufer 2024-11-10 01:39:34 +03:00
parent ba50f2c0b8
commit 6265495f59

View File

@ -394,7 +394,7 @@ if (statCooldown(msg.chat.id)) {
const chatId = msg.chat.id; const chatId = msg.chat.id;
const topUsers = getTopUsersByAverage(); // Получаем топ пользователей по среднему баллу const topUsers = getTopUsersByAverage(); // Получаем топ пользователей по среднему баллу
console.log(topUsers)
if (topUsers.length === 0) { if (topUsers.length === 0) {
return bot.sendMessage(chatId, 'Статистика пока недоступна.'); return bot.sendMessage(chatId, 'Статистика пока недоступна.');
} }