Answer the question
In order to leave comments, you need to log in
The bot does not see the admin in the group, what should I do?
I have a command to do the mailing:
я: РАЗОСЛАТЬ:
123
ТЕСТ
123
бот всем пользователям:
123
ТЕСТ
123
я: РАЗОСЛАТЬ:
123
ТЕСТ
123
бот в группу:
Вы не разработчик
elif 'РАЗОСЛАТЬ: ' in message.text:
if message.chat.id == config.owner:
msg = message.text.replace("РАЗОСЛАТЬ: ","")
send_message_users(msg)
print("\n------РАЗОСЛАНО: ------ {}".format(msg))
else:
bot.send_message(message.chat.id, 'Вы не разработчик!')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question