Skip to content

Commit

Permalink
feat: add runway to simbriefdata (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleinmaster authored Aug 8, 2024
1 parent e9c1f82 commit 32e9cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Update <small>_ August 2024</small>

- feat: add runway information to simbriefdata (08/08/2024)
- chore: add vscode editor settings (08/08/2024)
- fix: temporarily pin typescript version to v5.4.x (see https://github.com/flybywiresim/discord-bot-utils/issues/78) (07/10/2024)

Expand Down
4 changes: 2 additions & 2 deletions src/commands/utils/simbriefData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const simbriefEmbed = (flightplan: any) => makeEmbed({
`**Generated at**: ${moment(flightplan.params.time_generated * 1000).format('DD.MM.YYYY, HH:mm:ss')}`,
`**AirFrame**: ${flightplan.aircraft.name} ${flightplan.aircraft.internal_id} ${(flightplan.aircraft.internal_id === FBW_AIRFRAME_ID) ? '(provided by FBW)' : ''}`,
`**AIRAC Cycle**: ${flightplan.params.airac}`,
`**Origin**: ${flightplan.origin.icao_code}`,
`**Destination**: ${flightplan.destination.icao_code}`,
`**Origin**: ${flightplan.origin.icao_code} ${flightplan.origin.plan_rwy}`,
`**Destination**: ${flightplan.destination.icao_code} ${flightplan.destination.plan_rwy}`,
`**Route**: ${flightplan.general.route}`,
]),

Expand Down

0 comments on commit 32e9cf0

Please sign in to comment.