Answer the question
In order to leave comments, you need to log in
TypeError: 'module' object is not callable. How to fix?
bot = telebot.TeleBot("2043658444:AAGwNMo64TIOmY_UwYQ7O9L7L1ulHOvVla4")
@bot.message_handler(func=lambda message: True)
def echo_all(message):
bot.reply_to(message, message.text)
bot.polling() Throws an
error
Traceback (most recent call last):
File "C:\python\telebot2.py", line 1, in
import telebot
File "C:\python\telebot.py", line 3, in
bot = telebot.telebot("2043658444:AAGwNMo64TIOmY_UwYQ7O9L7L1ulHOvVla4" , parse_mode=None)
TypeError: 'module' object is not callable
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