mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +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
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "119.10.1",
|
||||
"version": "119.10.2",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user