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