Update files
This commit is contained in:
parent
8c81bac776
commit
16f6130e98
|
|
@ -393,7 +393,7 @@ const sendChannelMediaGroup = async (files, caption) => {
|
|||
* Отправить сообщение пользователю
|
||||
*/
|
||||
const sendMessageToUser = async (userId, message) => {
|
||||
if (!moderationBot) {
|
||||
if (!TELEGRAM_API) {
|
||||
throw new Error('Бот модерации не инициализирован');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue