Message from Python discussions

December 2018

— »»>import config
import telebot

bot = telebot.TeleBot(config.token)

def repeat_all_messages(message):
bot.send_message(, message.text)

if name == 'main':

Message permanent page


C:\Users\User\PycharmProjects\untitled\venv\Scripts\python.exe C:/Users/User/PycharmProjects/untitled/
Traceback (most recent call last):
File "C:/Users/User/PycharmProjects/untitled/", line 6, in <module>
AttributeError: 'TeleBot' object has no attribute 'message_handler'

Process finished with exit code 1»»>

— Here is an error in pyCharm when I press the RUN button

— Google told me this:

— Sorry for the silly question, but where is requirements.txt

— It was written in your link

— It's a file you have to create where you put your project's requirements

— You write there the libraries and versions that are needed for your project to run

— I didn't read that... I just google your issue and it was there

— I understand, but where is he?

— requirements.txt? you have to create it

— 😑