how to stop function in python (telegram bot) – Telegram API
I try to make selenium bot that integrate to telegram so i can start and stop easily def mulai(update, context): update.message.reply_text('Absen Start!') while True: if pycron.is_now('*/1 * * * *'): absen() time.sleep(60) but how to stop it?