Skip to content

ashoka-cs/shuttle-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shuttle Messegner Bot

This is a simple Facebook Messenger bot that I built on a Thursday night for my University Shuttle Service.

Credit for the code to configure the Bot goes to: https://github.com/hartleybrody/fb-messenger-bot. I also used a blog entry by the same author to help me with the configuration. Kudos to @hartleybrody.

I initially cloned the above repository to get everything up and running, and then amended it to give the desired information.

How does it work?

It uses binary search to decide what is the next biggest integer after the integer reresenting the current time in the list that contains the shuttle timings.

It uses the time at which the message was received by the system, and not the time at which the message was sent by the user.

About

A simple messenger chat bot to tell the user what the timings of the Ashoka Shuttle Service are.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%