Ping not working
Code:
The error:
node = v18.13.0
djs = 14.7.1
11 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I’m guessing param mismatch. Make sure your args match the params in your handler.
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
still got the same error
Show updated code.
The bot message was an example, not literal code that you should use
Im trying to make it work
The point is that wherever you call your
execute()
function should have the same parameters in the same order as where you define your execute()
function
The actual order is arbitrary, but it needs to be consistentok then what should I do
Make the parameters (and their order) consistent