From 76ec0f55669fd744df1acc5e78c429c739029a03 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Mon, 15 Sep 2025 12:58:50 -0700 Subject: [PATCH] chore: no more responding --- src/config/responses.ts | 4 +--- src/modules/respondToMention.ts | 15 +-------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/config/responses.ts b/src/config/responses.ts index 035cb47..bd42bfa 100644 --- a/src/config/responses.ts +++ b/src/config/responses.ts @@ -7,7 +7,5 @@ /* eslint-disable stylistic/max-len -- Lots of big strings here. */ export const responses = { - dm: "Hiya! I am Naomi's personal assistant, so I am afraid I cannot help you. But I have forwarded your message to Naomi!", - naomiMentioned: "Hello~! It looks like you mentioned Naomi. I have notified her, and she will respond as soon as she can.", - teamMentioned: "Hello~! It looks like you mentioned our team. I have notified Naomi, and she will respond as soon as she can.", + dm: "Hiya! I am Naomi's personal assistant, so I am afraid I cannot help you. But I have forwarded your message to Naomi!", }; diff --git a/src/modules/respondToMention.ts b/src/modules/respondToMention.ts index 08d6d26..50295d9 100644 --- a/src/modules/respondToMention.ts +++ b/src/modules/respondToMention.ts @@ -6,7 +6,6 @@ import { MessageFlags, type Message } from "discord.js"; import { ids } from "../config/ids.js"; -import { responses } from "../config/responses.js"; import { getComponentsForNaomi } from "../utils/getComponentsForNaomi.js"; import { logger } from "../utils/logger.js"; import type { Amari } from "../interfaces/amari.js"; @@ -17,7 +16,7 @@ import type { Amari } from "../interfaces/amari.js"; * @param amari -- Amari's instance. * @param message -- The guild message payload from Discord. */ -// eslint-disable-next-line max-lines-per-function, complexity -- Mainly those reply options... +// eslint-disable-next-line complexity -- Mainly those reply options... export const respondToMention = async( amari: Amari, message: Message, @@ -37,12 +36,6 @@ export const respondToMention = async( ignoreRepliedUser: true, ignoreRoles: true, }) || /naomi/i.test(content)) { - await message.reply({ - allowedMentions: { - repliedUser: false, - }, - content: responses.naomiMentioned, - }); await naomi.send( { components: getComponentsForNaomi(author, content, url), @@ -59,12 +52,6 @@ export const respondToMention = async( ignoreRepliedUser: true, ignoreRoles: true, }) || /nhcarrigan/i.test(content)) { - await message.reply({ - allowedMentions: { - repliedUser: false, - }, - content: responses.naomiMentioned, - }); await naomi.send( { components: getComponentsForNaomi(author, content, url),