Skip to content

Commit 113ca24

Browse files
committed
fix: add min
1 parent 96c86eb commit 113ca24

File tree

1 file changed

+1
-1
lines changed
  • packages/jellycommands/src/commands/types/commands

1 file changed

+1
-1
lines changed

packages/jellycommands/src/commands/types/commands/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const schema = baseSchema.append({
3030
'Slash Command names must be 1 - 32 characters, all lowercase with no witespaces or special chars',
3131
}),
3232

33-
description: Joi.string().max(100).required(),
33+
description: Joi.string().min(1).max(100).required(),
3434

3535
options: Joi.array(),
3636
});

0 commit comments

Comments
 (0)