Skip to content

rlSimonLi/tfnsw_departure_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TfNSW Departure Bot

This project creates a Discord bot using Python that fetches transit departure information from TfNSW’s Open Data API and displays real-time departure from Redfern Station for University of Sydney community on discord. Users can also use command to query departure information of any station/stop available in the Open Data API.

This project includes a docker image file that can be used to build a container image. You can start the bot using the included docker-compose

Feature

Automatically updated Redfern Station departure display

image

!departure [station] command

image

image

Prerequisite

  • Docker
  • Docker-compose

Usage

  1. Provide Discord developer API for bot account and TfNSW Open Data API for departure data in env.py
  2. Start the bot with docker-compose up -d

About

Discord bot for TfNSW Departure Information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published