diff options
author | June McEnroe <june@causal.agency> | 2023-01-14 21:43:46 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-01-14 21:43:46 +0000 |
commit | 08d3d34f302a1749b221dfed1ae650f0795b5bbc (patch) | |
tree | c903513ad5140127e05ac8f1390bc07c8545f57f /src | |
parent | Stay connected to rcon (diff) | |
download | shulker-08d3d34f302a1749b221dfed1ae650f0795b5bbc.tar.gz shulker-08d3d34f302a1749b221dfed1ae650f0795b5bbc.zip |
Send Discord replies to Minecraft
Diffstat (limited to 'src')
-rw-r--r-- | src/Discord.ts | 2 |
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 |