diff --git a/commands/other/portal-send.js b/commands/other/portal-send.js index f270496b..2d4578c0 100644 --- a/commands/other/portal-send.js +++ b/commands/other/portal-send.js @@ -22,7 +22,7 @@ module.exports = class PortalSendCommand extends Command { type: 'string', max: 1000, parse: message => stripInvites(message), - emptyChecker: (val, msg) => !msg.attachments.size && !val + isEmpty: (val, msg) => !msg.attachments.size && !val } ] });