Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def init(update, context):
- bot = context.bot
- message=str(update.message.text[6:]).strip()
- if message != "":
- bot.send_message(update.message.chat_id,
- text="https://www.bpm-power.com/it/search/ricerca.html/1/?Name={0}"
- .format(message.replace(' ','+')),
- parse_mode='HTML')
- else:
- bot.send_message(update.message.chat_id, text="Devi digitare un criterio di ricerca!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement