- Go to your preferred hosting service. For this guide, we use Render.
- In the Build & Deploy section, paste your repository URL.
Run the following commands to install dependencies and start your bot:
npm install node index.js
Navigate to the Discord Developer Portal. Find your application, and retrieve the bot token from the "Bot" section.
Create an environment variable with the following details: Key: TOKEN Value: [your bot token] Deploy your application using your hosting service’s deployment process.
Wait approximately five minutes for your bot to deploy and start up.
🎉 Congratulations! Your bot is now up and running. 🥳