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 }; }