diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 225c3712..c1073a34 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -3,6 +3,7 @@ Update _ May 2024 - refactor: Expand technical abbreviations (26/05/2024) +- chore: remove efb and adirs commands (26/05/2024) - fix: remove synaptic command (07/05/2024) - refactor: Improve screenshot command for QoL (07/05/2024) diff --git a/.github/command-docs.md b/.github/command-docs.md index dbffc31c..f1b42df6 100644 --- a/.github/command-docs.md +++ b/.github/command-docs.md @@ -4,7 +4,6 @@ | Command | Description | Alias | |:-------------------------|:--------------------------------------------------------------------------------------------------|:-------------------------------------------------------| -| .adirs | Display help with ADIRS alignment | --- | | .afloor | Provides a link to the Alpha Floor Tool-Tip | --- | | .airframe | Provides a link to the updated Simbrief airframe | --- | | .assistance | Explains to the user why assistance options should be disabled | .assi
.as | @@ -19,7 +18,6 @@ | .cpdlc | Provide info and docs link for Hoppie ACARS | .pdc
.hoppie
.acars | | .ctrle | Displays help regarding CTRL+E engine start | .ctrl+e
.ctrl-e
.enginestart | | .direct | Provides a link to the Direct documentation (also referred to as DIR TO) | .dirto
.directto | -| .efb | Inquire about the state of the EFB | --- | | .experimental | Explains the current state of the experimental build | .exp | | .fixinfo | Provide information about the fix info feature | --- | | .flextemp | Provides a link to the a32nx flex temp guide | .flex | @@ -103,7 +101,6 @@ | .botissue | Provides details on where to create a FBW Discord Bot Issue or Feature Request | .bot-issue
.botfeature
.bot-feature
.botfeat | | .devlanguages | Provides a list of development languages used in the A32NX | .devlanguage
.devlang
.dl | | .dfd | Provides link to Digital Flight Dynamics discord server | --- | -| .docsearch | Provides a link to the FlyByWire documentation, either a general link, or a link for a specific search
Search terms can be terminated by a line break or one of the symbols . - > \ / | .documentation
.docs
.doc | | .donate | Provides a link to the open collective | --- | | .goldenrules | Provides an image describing the golden rules an Airbus pilot should follow | .golden
.gr | | .fsltl | Provides link to the FS Live Traffic Liveries Discord server | .fslivetrafficliveries | @@ -128,23 +125,8 @@ | Command | Description | Alias | |:--------------|:-------------------------------------------------------------------------------------|:---------------------------------------------------------------| -| .avatar | Shows the selected user's avatar | .av | -| .birthday | Handles adding & removing user birthdays | --- | -| .count | counts in the count thread | --- | -| .events | Show a list of upcoming VATSIM events. | .event
.ev
.vatsimevents
.vatevents
.vatev | | .help | Sends a list of available commands to the user | --- | -| .liveflights | Get the current live flights for FlyByWire Simulations | .flights
.flight | -| .membercount | Lists the guild's current amount of members | --- | -| .metar | Provides the METAR report of the requested airport | --- | | .ping | Send back a message | --- | -| .pr | Provide a link to any given FBW PRs | --- | -| .roleinfo | Lists the guild's current amount of members | --- | -| .simbriefdata | Lists a number of attributes from the last generated SimBrief flightplan of a user | --- | -| .station | Provides station information | --- | -| .taf | Provides the TAF report of the requested airport | --- | -| .vatsim | Show statistics and details of online VATSIM controllers, observers, ATIS and pilots | .vatsimdata
.vatdata | -| .wa | Queries the Wolfram Alpha API | .calc
.ask | -| .zulu | Get the current time at a given UTC-offset timezone | --- | ### Memes @@ -181,19 +163,5 @@ | Command | Description | Alias | |:----------------------|:--------------------------------------------------------------------------------------------------------|:-------------------------------------------| -| .ban | --- | --- | -| .cacheupdate | Update the cache of the bot with the information from discord for different aspects | .cache-update | -| .deletewarn | Deletes a users warning | .delwarn
.deletewarning | -| .faq | Sends the FAQ | --- | -| .roleassignment | Sends the role assignment messages | --- | -| .rules | Sends the rules | --- | -| .slowmode | Sets slow mode for a channel and is capable of automatically disabling it after a timeout. | --- | | .sticky | Manage sticky messages which are posted in Forum Posts when a new post is created | --- | | .temporarycommandedit | Manage temporary commands, which are simple output commands to highlight temporary situations to users. | .tempcommandedit
.tcedit
.tcmod | -| .timeout | --- | --- | -| .unban | --- | --- | -| .untimeout | --- | .removetimeout | -| .warn | Warns a user | --- | -| .warnings | Lists a users warnings | .listwarn
.listwarnings
.warns | -| .welcome | Sends the welcome | --- | -| .whois | Provides an embedded message with information about the mentioned user | --- | diff --git a/assets/images/a32nx/adirs.png b/assets/images/a32nx/adirs.png deleted file mode 100644 index 7a85db37..00000000 Binary files a/assets/images/a32nx/adirs.png and /dev/null differ diff --git a/assets/images/a32nx/efb.gif b/assets/images/a32nx/efb.gif deleted file mode 100644 index 5a13ca34..00000000 Binary files a/assets/images/a32nx/efb.gif and /dev/null differ diff --git a/assets/images/a32nx/efb_downscaled.gif b/assets/images/a32nx/efb_downscaled.gif deleted file mode 100644 index aeb3854b..00000000 Binary files a/assets/images/a32nx/efb_downscaled.gif and /dev/null differ diff --git a/src/commands/aircraft/adirs.ts b/src/commands/aircraft/adirs.ts deleted file mode 100644 index 66842915..00000000 --- a/src/commands/aircraft/adirs.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { MessageCommandDefinition } from '../../lib/command'; -import { makeEmbed, makeLines } from '../../lib/embed'; -import { CommandCategory, imageBaseUrl } from '../../constants'; - -const ADIRS_IMAGE_URL = `${imageBaseUrl}/a32nx/adirs.png`; - -const adirsEmbed = makeEmbed({ - title: 'FlyByWire A32NX | ADIRS align', - description: makeLines([ - 'On the overhead panel you will see the three switches under \'ADIRS\'. Turn these three to the \'NAV\' position. It takes several minutes for the ADIRUs to align.', - 'You can check how long you have to wait by looking at the align time on your Upper Ecam.', - ]), - image: { url: ADIRS_IMAGE_URL }, -}); - -export const adirs: MessageCommandDefinition = { - name: 'adirs', - description: 'Display help with ADIRS alignment', - category: CommandCategory.AIRCRAFT, - genericEmbed: adirsEmbed, -}; diff --git a/src/commands/aircraft/efb.ts b/src/commands/aircraft/efb.ts deleted file mode 100644 index 664feb03..00000000 --- a/src/commands/aircraft/efb.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { MessageCommandDefinition } from '../../lib/command'; -import { makeEmbed } from '../../lib/embed'; -import { CommandCategory, imageBaseUrl } from '../../constants'; - -const EFB_URL = `${imageBaseUrl}/a32nx/efb_downscaled.gif`; - -const efbEmbed = makeEmbed({ image: { url: EFB_URL } }); - -export const efb: MessageCommandDefinition = { - name: 'efb', - description: 'Inquire about the state of the EFB', - category: CommandCategory.AIRCRAFT, - genericEmbed: efbEmbed, -}; diff --git a/src/commands/general/migratedCommand.ts b/src/commands/general/migratedCommand.ts index 01ac8b38..ac15fd39 100644 --- a/src/commands/general/migratedCommand.ts +++ b/src/commands/general/migratedCommand.ts @@ -9,6 +9,7 @@ const migratedCommandEmbed = makeEmbed({ export const migratedCommand: MessageCommandDefinition = { name: [ + 'adirs', 'ask', 'av', 'avatar', @@ -25,6 +26,7 @@ export const migratedCommand: MessageCommandDefinition = { 'documentation', 'doc', 'docs', + 'efb', 'ev', 'event', 'events', diff --git a/src/commands/index.ts b/src/commands/index.ts index 2c5e9479..b6fc85cc 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -3,7 +3,6 @@ import Logger from '../lib/logger'; import { typeCommand } from '../lib/typeCommand'; import { bruheg } from './memes/bruheg'; import { boratorium } from './memes/boratorium'; -import { efb } from './aircraft/efb'; import { deadzones } from './support/deadzones'; import { screens } from './aircraft/screens'; import { when } from './general/when'; @@ -11,7 +10,6 @@ import { trythis } from './support/trythis'; import { experimental } from './aircraft/experimental'; import { versions } from './aircraft/versions'; import { installer } from './general/installer'; -import { adirs } from './aircraft/adirs'; import { logs } from './support/logs'; import { autopilot } from './aircraft/autopilot'; import { checklist } from './aircraft/checklist'; @@ -177,7 +175,6 @@ const commands: BaseCommandDefinition[] = [ typeCommand, bruheg, boratorium, - efb, deadzones, screens, when, @@ -185,7 +182,6 @@ const commands: BaseCommandDefinition[] = [ experimental, versions, installer, - adirs, logs, autopilot, checklist,