Subcommand wont get registered

Hey, I know it must be some little stupid thing I did wrong: Im trying to create subcommands but while starting my bot I get the following error: TypeError: Cannot read properties of undefined (reading 'parseConstructorPreConditionsRunIn') I compared my code multiple times with the code of ofters and the docs, but I'm not seeing my mistake.
No description
Solution:
Update your dependencies, framework specifically. The method is a static method on Command class.
Jump to solution
4 Replies
Solution
Favna
Favna10mo ago
Update your dependencies, framework specifically. The method is a static method on Command class.
Peace
Peace10mo ago
Hm... now ive updated everything and the @ApplyOptions decorator is broken...
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
MRDGH2821
MRDGH282110mo ago
In tsconfig, allow experimental decorators thingy
Peace
Peace10mo ago
Oh, alr. Thanks for the help :3
Want results from more Discord servers?
Add your server