summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-01-14 21:43:46 +0000
committerJune McEnroe <june@causal.agency>2023-01-14 21:43:46 +0000
commit08d3d34f302a1749b221dfed1ae650f0795b5bbc (patch)
treec903513ad5140127e05ac8f1390bc07c8545f57f
parentStay connected to rcon (diff)
downloadshulker-08d3d34f302a1749b221dfed1ae650f0795b5bbc.tar.gz
shulker-08d3d34f302a1749b221dfed1ae650f0795b5bbc.zip
Send Discord replies to Minecraft
-rw-r--r--src/Discord.ts2
1 files changed, 1 insertions, 1 deletions
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