#String Length error while trying to register a command

1 messages · Page 1 of 1 (latest)

odd violetBOT
#

@robust lark to help others find answers, you can mark your question as solved via Right Click Solution Message->Apps->✅ Mark Solution

light iris
#

s.string.lengthGreaterThanOrEqual means the string has to have a length greater than or equal to something, in this case 1. And the actual value is | ''.

Can't tell from your code but the error should be able to print a full stracktrace as well.

odd violetBOT
#

Thank you for marking this question as solved!

Question Message ID

1058726319271194624

Solution Message ID

1058741338536935524

light iris
#

oh yeah I overlooked that but that is correct

#

you have to use either one of the two