Closed supercrafter100 closed 1 year ago
This is great, thank you! (I have already recorded some video tutorials which will probably show the other way but glad to update and fix here!)
@supercrafter100 i think it is still the other way in bot.js
?
Ah did I miss it there? I'll quickly fix that if so 😅
In this section of the example code: https://github.com/Programming-from-A-to-Z/Discord-Bot-Examples/blob/ac8ee1ebf1a3199c302f8ee38f6fc177998df08f/01-discordjs/deploy-commands.js#L6-L9 we are only importing the config function and calling it from dotenv. To keep consistent through the code, I replaced this in the readme as well.