From 8426e7b170e23ff3d4170d7bc14ff7d74822e671 Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Wed, 20 Sep 2017 09:41:54 +0300 Subject: [PATCH] fix: don't continue forwarding a DM if the thread could not be created --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 8090a77..4677d8c 100644 --- a/src/index.js +++ b/src/index.js @@ -101,6 +101,7 @@ Modmail thread for ${msg.author.username}#${msg.author.discriminator} (${msg.aut Here's what their message contained: \`\`\`${msg.cleanContent}\`\`\` `); + return; } if (thread._wasCreated) {