Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. import telebot
  2. from telebot import types
  3.  
  4. bot = telebot.TeleBot("1020076156:AAEvISKX9wEav2yOUaQlwyMKtyHio6uN2TQ")
  5.  
  6.  
  7. @bot.message_handler(commands=['start'])
  8. def send_welcome(message):
  9. bot.send_message(
  10. message.chat.id,
  11. '''עדיין בעבודה 🛠💻 ...
  12. ▫️ נסו שנית מאוחר יותר.
  13. '''
  14.  
  15. @bot.message_handler(content_types=["בוט הגזע"])
  16.  
  17.  
  18. def keyboard():
  19. markup = types.ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
  20. btn1 = types.KeyboardButton('בוט הגזע')
  21. markup.add(btn1)
  22. return markup
  23.  
  24. if __name__ == "__main__":
  25. bot.polling(none_stop=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement