skip to Main Content

'TeleBot' object has no attribute 'message_handler' – Telegram API

When I run the code below the following error message is displayed: 'TeleBot' object has no attribute 'message_handler'. import telebot from telebot import types keyboard1 = telebot.types.ReplyKeyboardMarkup() keyboard1.row('Ok', 'Bye') bot = telebot.TeleBot('API') @bot.message_handler(commands=['start']) def start_message(message): bot.send_message(message.chat.id, 'Hi what do you…

VIEW QUESTION

No module named pymysql – Apache

Getting a 500 internal error when attempting to create an apache/django server that runs on digital ocean. After checking the log.error i can see the error below import pymysql as db ModuleNotFoundError: No module named pymysql Within Terminal... python --version…

VIEW QUESTION
Back To Top
Search