diff --git a/source/index.rst b/source/index.rst index aa522c8c5..3f76c2de0 100644 --- a/source/index.rst +++ b/source/index.rst @@ -90,4 +90,18 @@ Reference * The :doc:`specifications/index` section for packaging interoperability specifications. * The list of :doc:`other projects ` maintained by members of the Python Packaging Authority. -* The :doc:`glossary` for definitions of terms used in Python packaging. +* The :doc:`glossary` for definitions of terms used in Python packaging.import telebot + +BOT_TOKEN = "8380377439:AAEp_7E05ZDHtNZAhkCV11JadT5TStxl-7s" + +bot = telebot.TeleBot(BOT_TOKEN) + +@bot.message_handler(commands=['start', 'help']) +def send_welcome(message): + bot.reply_to(message, "Welcome! Bot ɗinka yana aiki yanzu 👍") + +@bot.message_handler(func=lambda message: True) +def echo_all(message): + bot.reply_to(message, message.text) + +bot.infinity_polling()