def unset(bot, update, chat_data):
 if ('job' not in chat_data):
  update.message.reply_text('You have no active timer')
  return
 job = chat_data['job']
 job.schedule_removal()
 del chat_data['job']
 update.message.reply_text('Timer successfully unset!')

def unset ( bot , update , chat_data ) : if ( 'job' not in chat_data ) : update . message . reply_text ( 'You have no active timer' ) return job = chat_data [ 'job' ] job . schedule_removal ( ) del chat_data [ 'job' ] update . message . reply_text ( 'Timer successfully unset!' )
removes the job if the user changed their mind .