From 8bfc3f91ef0ebe9baa40df4a08b721662e53e067 Mon Sep 17 00:00:00 2001 From: Charlie Laabs Date: Thu, 14 Apr 2022 16:27:13 -0500 Subject: [PATCH] Don't fail if replied message is deleted. Fixes #32. --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 585644d..5593337 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,6 +43,7 @@ const INVALID_PERMISSIONS_MESSAGE = 'You do not have the permissions for this ac const INVALID_GUILD_MESSAGE = 'This action must be performed within a server.'; const client = new Discord.Client({ + failIfNotExists: false, intents: [Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.GUILDS], presence: { activities: [