From cb353847d5ea29f299383b10cd6b72884ff6bef6 Mon Sep 17 00:00:00 2001 From: Lazare-42 Date: Tue, 21 Oct 2025 12:41:03 +0200 Subject: [PATCH] feat: remove automatic DM trigger to apply relevance checks --- src/utils/triggers.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/triggers.ts b/src/utils/triggers.ts index ee37ac4..7f24feb 100644 --- a/src/utils/triggers.ts +++ b/src/utils/triggers.ts @@ -1,6 +1,6 @@ import { Message } from 'discord.js-selfbot-v13'; -export type TriggerType = 'ping' | 'keyword' | 'dm' | null; +export type TriggerType = 'ping' | 'keyword' | null; export async function getTrigger( message: Message, @@ -22,8 +22,5 @@ export async function getTrigger( if (matchedKeywords.length > 0) { return { type: 'keyword', info: matchedKeywords }; } - if (!message.guild) { - return { type: 'dm', info: message.author.username }; - } return { type: null, info: null }; }