Adding Slash commands

Hey i need some help i am trying to add a simple Slash Command but i always get no awnser from the bot. I registered the command on the server but never get an awnser. i tried two ways (see in pictures )

$ npm list discord.js
─ discord.js@14.15.3
Done in 0.10s.

$ node -v
v20.13.1
image.png
image.png
image.png
image.png
image.png
Was this page helpful?
Adding Slash commands - discord.js - Imagine ❄