Skip to content

Commit

Permalink
fix: add min
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdevv committed Jul 6, 2022
1 parent 96c86eb commit 113ca24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const schema = baseSchema.append({
'Slash Command names must be 1 - 32 characters, all lowercase with no witespaces or special chars',
}),

description: Joi.string().max(100).required(),
description: Joi.string().min(1).max(100).required(),

options: Joi.array(),
});

0 comments on commit 113ca24

Please sign in to comment.