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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
monbrey
monbrey3y ago
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)
Mardroide
MardroideOP3y ago
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
Mardroide
MardroideOP3y ago
Mardroide
MardroideOP3y ago
Okey thaks All solved Any recomendation for the command hadler? Nvm
Want results from more Discord servers?
Add your server