From 5f4c5b3f6460b4d8bad6f612b558099ceb37f751 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 6 Jul 2020 22:05:40 -0400 Subject: [PATCH] Fix --- commands/other/portal-send.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/other/portal-send.js b/commands/other/portal-send.js index a2d55f03..3abe4072 100644 --- a/commands/other/portal-send.js +++ b/commands/other/portal-send.js @@ -27,7 +27,7 @@ module.exports = class PortalSendCommand extends Command { } return true; }, - parse: message => stripInvites(message), + parse: val => val ? stripInvites(val) : '', isEmpty: (val, msg) => !msg.attachments.size && !val } ]