mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Accept attachments as portal-send args
This commit is contained in:
@@ -21,7 +21,8 @@ module.exports = class PortalSendCommand extends Command {
|
||||
prompt: 'What message would you like to send?',
|
||||
type: 'string',
|
||||
max: 1000,
|
||||
parse: message => stripInvites(message)
|
||||
parse: message => stripInvites(message),
|
||||
emptyChecker: (val, msg) => !msg.attachments.size && !val
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user