From fc4a963b5c968a36639820a3003eeffc43b1fd52 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 31 Mar 2024 01:42:03 -0400 Subject: [PATCH] Set maximum length --- commands/edit-text/yoda.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/edit-text/yoda.js b/commands/edit-text/yoda.js index ec9763e1..d64e319d 100644 --- a/commands/edit-text/yoda.js +++ b/commands/edit-text/yoda.js @@ -20,7 +20,8 @@ module.exports = class YodaCommand extends Command { { key: 'message', label: 'text', - type: 'string' + type: 'string', + max: 500 } ] });