It should automatically update. If it is not make sure you have no errors in your logs. If it is still not working message the support team. If this helped press the heart icon.
Try opening your terminal (
tools > terminal) and reinstall the discord.js module. Then, try deleting the code and then pasting your new bot’s code back in. This should work and resolve your issue!