import telebot
import config
bot = telebot.TeleBot(config.TOKEN)
@bot.message_handler(content_types=['text'])
def lalala(message):
bot.send_message(message.chat.id, message.text)
# RUN
bot.polling(none_stop=True)
Traceback (most recent call last):
File "C:\Users\Артем\Desktop\testbot.py", line 4, in <module>
bot = telebot.TeleBot(config.TOKEN)
AttributeError: module 'config' has no attribute 'TOKEN'