mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Fix
This commit is contained in:
@@ -20,6 +20,7 @@ module.exports = class PortalSendCommand extends Command {
|
|||||||
key: 'message',
|
key: 'message',
|
||||||
prompt: 'What message would you like to send?',
|
prompt: 'What message would you like to send?',
|
||||||
max: 1000,
|
max: 1000,
|
||||||
|
type: 'string',
|
||||||
validate: (val, msg, arg) => {
|
validate: (val, msg, arg) => {
|
||||||
if (!val) return true;
|
if (!val) return true;
|
||||||
if (val.length > arg.max) {
|
if (val.length > arg.max) {
|
||||||
|
|||||||
Reference in New Issue
Block a user