bot.py
def allpasses(bot,update):
    """send the visible passes for today"""
    update.message.reply_text('Calculating and sending todays all passes')

    cords =[['6.5490 N','72.9534 E','vaikaradhoo'],['6.1497 N','73.2905 E','Funadhoo']]

    

    all_passes = (get_passes(1,1440,cords[1],date.today()))

    if len(all_passes) > 0:
        send(bot, all_passes)

    else:
        update.message.reply_text("No  passes found for today")
send the visible passes for today
send the visible passes for today
send the visible passes for today
def allpasses(bot,update):
    update.message.reply_text('Calculating and sending todays all passes')
    cords =[['6.5490 N','72.9534 E','vaikaradhoo'],['6.1497 N','73.2905 E','Funadhoo']]
    all_passes = (get_passes(1,1440,cords[1],date.today()))
    if len(all_passes) > 0:
        send(bot, all_passes)
    else:
        update.message.reply_text("No  passes found for today")
def allpasses ( bot , update ) : update . message . reply_text ( 'Calculating and sending todays all passes' ) cords = [ [ '6.5490 N' , '72.9534 E' , 'vaikaradhoo' ] , [ '6.1497 N' , '73.2905 E' , 'Funadhoo' ] ] all_passes = ( get_passes ( 1 , 1440 , cords [ 1 ] , date . today ( ) ) ) if len ( all_passes ) > 0 : send ( bot , all_passes ) else : update . message . reply_text ( "No  passes found for today" )
send the visible passes for today
send the visible passes for today
"""send the visible passes for today"""
bot
update