Interaction class
I created a handler that loads the commands and executes the run function when they are called, nothing unusual. The problem is that I pass the interaction as an argument to the function, but for some reason, inside the run function it is an incomplete object that does not have some properties like "options", and in the event receiver that executes the run function of commands, it is a class that contains the "options" property, how can I solve this?
typescript: 5(beta)
3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
node: v16.19.0
The order of function parameters must match between definition and function call.
• mismatch! you pass a Message where the client is expected
• mismatch! you pass the Client where a Message is expected