From 08d3d34f302a1749b221dfed1ae650f0795b5bbc Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 14 Jan 2023 21:43:46 +0000 Subject: Send Discord replies to Minecraft --- src/Discord.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.ts b/src/Discord.ts index be3b9ee..7b2b046 100644 --- a/src/Discord.ts +++ b/src/Discord.ts @@ -95,7 +95,7 @@ class Discord { // ensure that the message has a sender if (!message.author) return // ensure that the message is a text message - if (message.type !== 'DEFAULT') return + if (message.type !== 'DEFAULT' && message.type !== 'REPLY') return // if the same user as the bot, ignore if (message.author.id === this.client.user?.id) return // ignore any attachments -- cgit 1.4.1