
NameError: name ‘message_handler’ is not defined
Сам код:
import config
import telebot
from telebot import types # pip install pyTelegramBotAPI
bot = telebot.TeleBot(config.token)
message_handler(commands

def welcome(message):
sti = open(path+'stiker.tgs', ‘rb’)
bot.send_sticker(message.chat.id, sti)
markup = types.ReplyKeyboardMarkup(resize_keyboard=True)
item3 = types.KeyboardButton(“Активация”)
markup.add(item3)
bot.send_message(message.chat.id,
“– ”
“–”.format(
message.from_user, bot.get_me()),
parse_mode='html', reply_markup=markup)