LondonTransit has begun the transition to a TypeScript codebase. You can see the progress in the language contents bar.
Due to a recent TfL-wide cyber attack, live information may be unavailable. Please consult official TfL channels for more information.
LondonTransit is a discord bot that provides realtime public transport information for London, including the London Underground and the London Bus network, using the Transport For London Unified API.
All returned information is always up to date, meaning that you will always know when your next bus or train is coming, and journeys will always be planned to account for current delays and disruptions.
COMING SOON: /nextarrivals responses updated LIVE (if user selects option)
LondonTransit is easy to use, with a simple command structure and a easy-to-read format.
Wherever LondonTransit cant provide detail, LondonTransit will provide a link to the TFL website, where you can find more information. Journey Planner will also display this journey on the TFL website.
To add LondonTransit to your server, click here. There are two ways to use LondonTransit:
- Bot user: Add the bot user to a server you manage. Replies are visible to everyone and can be used by all members, even if they havent added the bot themselves (limited to the server the bot user is in)
- User app: Install the app to your personal account, and you can use its commands everywhere, including DMs and Group DMs. Response visibility in servers it is not in is dictated by server permissions.
Your help is always appreciated, as I am one man working on this and teamwork makes the dream work. If you would like to contribute, please feel free to fork this repository and make a pull request. If you would like to discuss a feature, please open an issue. CONTRIBUTING.md will be coming soon.
If you've found a bug, you can either open an issue or email me at hello@londontransit.org.uk
LondonTransit offers a variety of commands to help you navigate London's transport network. Below is a detailed list of available commands, their descriptions, and usage examples.
Displays the current status of the TfL network.
Usage Example:
/servicestatus
Displays the current status of a specific TfL line.
Usage Example:
/linestatus Central
Displays the fastest route between two stations. Shows results inline with current service availability.
Usage Example:
/journey King's Cross St. Pancras Waterloo
Displays the next arrivals at a specific station. currently only supports the tube
Usage Example:
/nextarrivals Victoria
Displays the current location of a specific bus.
Usage Example:
/locatebus LTZ1748
Displays the current availability of a specific cycle dock. protip: the name is usually the road its on
Usage Example:
/cycledock Baker Street
Displays information about the bot.
Usage Example:
/info
This project is licensed under the GNU General Public License v3.0 - see the license file for details.
Got questions? email me at me@martin.blue.