Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. 2020-02-21T17:49:29.969608+00:00 app[web.1]: File "text.py", line 15
  2. 2020-02-21T17:49:29.969642+00:00 app[web.1]: for i in range (-5,0):
  3. 2020-02-21T17:49:29.969642+00:00 app[web.1]: ^
  4. 2020-02-21T17:49:29.969643+00:00 app[web.1]: IndentationError: expected an indented block
  5.  
  6.  
  7. @bot.message_handler(commands=['start'])
  8. def start(m):
  9. try:
  10. for i in range (-5,0):
  11. bot.delete_message(m.chat.id,m.message_id+i)
  12. except:
  13. pass
  14. gif = 'CgACAgQAAxkBAAIBM15OxkUofuioKz0XxMs10xdgceZGAAI7BgACnfd4Ul_T32ps-cQOGAQ'
  15. kb = types.InlineKeyboardMarkup()
  16. kb.add(types.InlineKeyboardButton(text="קהילה 👨🏽‍💻", url='https://t.me/GanKasom'))
  17. kb.add(types.InlineKeyboardButton(text='מגדלים 🧑🏽‍🌾', url='https://t.me/GanKasomGrow'))
  18. kb.add(types.InlineKeyboardButton(text='יד שנייה 📦', url='https://t.me/GanKasomExchange'))
  19. kb.add(types.InlineKeyboardButton(text='כיוונים 📍', url='https://t.me/GanKasomCivonim'))
  20. kb.add(types.InlineKeyboardButton(text='ביקורות 💭', url='https://t.me/GanKasomReviews'))
  21. kb.add(types.InlineKeyboardButton(text='בוט ביקורות 📝', url='https://t.me/GanKasomReviews'))
  22. bot.send_document(m.chat.id, gif, reply_markup = kb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement