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 } ]