diff --git a/src/listeners/messageInvalid.js b/src/listeners/messageInvalid.js index 22c991c..385a91b 100644 --- a/src/listeners/messageInvalid.js +++ b/src/listeners/messageInvalid.js @@ -59,7 +59,7 @@ class MessageInvalidListener extends Listener { return null; } - const regex = /^\s*(`{1,3})(.+?)\n([^]+)\1\s*$/; + const regex = /^\s*(`{1,3})(.+?)[ \n]([^]+)\1\s*$/; const match = message.content.slice(prefix.length).match(regex); if (!match) { return null;