Error while trying to make command register
Hello,
I'm trying to make register-command.js file to store my slash commands in but it returns a error. I'll say right away that I'm totally new to programming so I'm copying code from YT tutorial while trying to understand it. This is the code for register-commands.js
and this is the error I cannot get rid of (I had checked many times but hadn't found any mistake and I couldn't find any help either)
I'm trying to make register-command.js file to store my slash commands in but it returns a error. I'll say right away that I'm totally new to programming so I'm copying code from YT tutorial while trying to understand it. This is the code for register-commands.js
and this is the error I cannot get rid of (I had checked many times but hadn't found any mistake and I couldn't find any help either)