Update files

This commit is contained in:
glpshchn 2025-11-11 03:46:01 +03:00
parent 8c81bac776
commit 16f6130e98
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ const sendChannelMediaGroup = async (files, caption) => {
* Отправить сообщение пользователю * Отправить сообщение пользователю
*/ */
const sendMessageToUser = async (userId, message) => { const sendMessageToUser = async (userId, message) => {
if (!moderationBot) { if (!TELEGRAM_API) {
throw new Error('Бот модерации не инициализирован'); throw new Error('Бот модерации не инициализирован');
} }