Issue with Discord.js command deployment script
The script is designed to deploy application commands to a Discord bot, but it doesn't seem to complete successfully. It gets stuck after resetting the guild commands, and the process doesn't finish or show the final success message.
I have checked the code, but I'm unable to figure out the root cause of this problem. Below is my code (It was heavily inspired from the https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands guide )
Here's the code:
https://pastebin.com/sBK7nKJV
I have tried to debug the code by adding some console.log statements, but it didn't provide any additional information.
Could someone please help me identify what might be causing this issue and how I can resolve it?
I have checked the code, but I'm unable to figure out the root cause of this problem. Below is my code (It was heavily inspired from the https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands guide )
Here's the code:
https://pastebin.com/sBK7nKJV
I have tried to debug the code by adding some console.log statements, but it didn't provide any additional information.
Could someone please help me identify what might be causing this issue and how I can resolve it?

Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
