/journey <from> <to>

Overview

The /journey command allows you to plan a journey using London’s public transport system. It provides detailed information about the route, including the lines used, changes required, and estimated travel time.

This command provides journey planning for any station in the UK, but it is most effective for London public transport.

Be aware that you might see duplicate autocomplete results for a single when the a station is served by multiple modes. This is because the TfL systems treats them as seperate stations. Always choose the one that matches the mode you want to use.

In the case of the Elizabeth Line, it will not have any suffix to the station name. Other modes will, such as “Stratford Underground Station” or “Stratford DLR Station”.

Response

It returns an embed outlining the journey details, including:

  • Estimated Travel Time: The total time expected for the journey.
  • Steps: A list of steps required to complete the journey, including:
    • Travel Mode: The mode of transport (e.g., Tube, Bus, Train).
    • Stops: The start and end points of each step.
    • Line Name: The name of the transport line used for that step.

For example, if you were to plan a journey from “Buckingham Palace” to “London Bridge”, the response might look like this:

Journey from Buckingham Palace to London Bridge

This journey will take 21 minutes.

13 bus towards Victoria Station
Buckingham Palace Road / Bressenden Place stop P to Victoria Station stop E

District Line
Victoria Station to Westminster Station

Jubilee Line
Westminster Station to London Bridge Station

Parameters

origin
string
required

The starting point of your journey. This can be any location in the UK, but to prevent recognising a different place with the same name, it is recommended to use a station name or a well-known landmark.

destination
string
required

The destination of your journey. Similar to the origin, it is best to use a station name or a well-known landmark to ensure accuracy.

date
string
default:"now"
required

The date and time for the journey. If not specified, it defaults to the current time.