diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 4ee53b49..1bfdeaa2 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +Update _ September 2024 + +- refactor: remove .nohello command (04/09/2024) + Update _ August 2024 - fix: add aliases back to weather command (08/08/2024) diff --git a/.github/command-docs.md b/.github/command-docs.md index 351ef4a8..acc774ce 100644 --- a/.github/command-docs.md +++ b/.github/command-docs.md @@ -147,7 +147,6 @@ | .jaun | just... Jaun | --- | | .merge | GIT MERGE! | --- | | .mico | mico! | --- | -| .nohello | No! | .hello | | .nut | nut | --- | | .oim | oim | --- | | .otter | Well, it's an otter | --- | diff --git a/src/commands/index.ts b/src/commands/index.ts index 34bd1f5e..abdadab3 100644 --- a/src/commands/index.ts +++ b/src/commands/index.ts @@ -102,7 +102,6 @@ import { market } from './support/market'; import { takeoffIssues } from './aircraft/takeoffissues'; import { simbridge } from './support/simbridge'; import { fma } from './aircraft/fma'; -import { noHello } from './memes/noHello'; import { dlss } from './support/dlss'; import { temporarycommandedit } from './moderation/temporaryCommandEdit'; import { temporarycommand } from './general/temporaryCommand'; @@ -275,7 +274,6 @@ const commands: BaseCommandDefinition[] = [ takeoffIssues, simbridge, fma, - noHello, dlss, temporarycommandedit, temporarycommand, diff --git a/src/commands/memes/noHello.ts b/src/commands/memes/noHello.ts deleted file mode 100644 index a9d16777..00000000 --- a/src/commands/memes/noHello.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Message } from 'discord.js'; -import { CommandDefinition } from '../../lib/command'; -import { CommandCategory } from '../../constants'; - -const NO_HELLO_URL = 'https://nohello.net/'; - -export const noHello: CommandDefinition = { - name: ['nohello', 'hello'], - description: 'No!', - category: CommandCategory.MEMES, - executor: async (msg: Message) => { - const sentMsg = await msg - .fetchReference() - .then((res) => res.reply(NO_HELLO_URL)) - .catch(async () => msg.channel.send(NO_HELLO_URL)); - - if (msg.content.split(/\s+|\n|\r|\.|-|>|\/|\\/).length <= 2) { - msg.delete(); - } - return sentMsg; - }, -};