Mismatched parameters and command handler not to optimized.
Hi devs, im triying to fix my mismatched parameters and maybe the handler its the problem!
6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
command.execute(client, interaction);
If you do have a mismatch issue, this is where it would be
You'd need to make sure that every execute
function in your command files also receive exactly (client, interaction)
Then when I use the params that way on a command It do get interaction options
Mismatched parameters
the way I should execute it
in all executes needs client parameter?
because now i get type errors
Okey thaks
All solved
Any recomendation for the command hadler?
Nvm