Closed Syjalo closed 1 year ago
A new loop has recently been added for reading commands in index.js, but not in deploy-commands.js
index.js
deploy-commands.js
index.js: https://discordjs.guide/creating-your-bot/command-handling.html#loading-command-files deploy-commands.js: https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands
I suggest to add it in deploy-commands.js too.
Add a new loop
No response
I think it's a duplicate of #1362
Not a duplicate. I'm about the warning in the loop, but not using fs.
@monbrey is this covered/in scope of #1427 ?
Is your feature request related to a problem? Please describe.
A new loop has recently been added for reading commands in
index.js
, but not indeploy-commands.js
index.js
: https://discordjs.guide/creating-your-bot/command-handling.html#loading-command-filesdeploy-commands.js
: https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commandsI suggest to add it in
deploy-commands.js
too.Describe the solution you'd like
Add a new loop
Describe alternatives you've considered
No response
Additional notes
No response