Fix description and firstMessage in /char-create command being optional Make description and firstMessage optional parameters in createCharacterCallback, allowing character creation with only a name. Remove validation checks that previously required these fields to be non-empty strings.

2a00253937c9a28d7d113c5a023f5684c0eeb2ef

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +0 -8Showing whitespace changes
public/scripts/slash-commands.js+0 -8
@@ -5234,14 +5234,6 @@ async function createCharacterCallback(args) {
52345234 toastr.warning(t`Character name is required`);
52355235 return '';
52365236 }
5237- if (!description || typeof description !== 'string') {
5238- toastr.warning(t`Character description is required`);
5239- return '';
5240- }
5241- if (!firstMessage || typeof firstMessage !== 'string') {
5242- toastr.warning(t`Character first message is required`);
5243- return '';
5244- }
52455237
52465238 // Build the character data object matching the server's expected format
52475239 const characterData = {