Fonzie
DIAdiscord.js - Imagine an app
•Created by Fonzie on 1/12/2024 in #djs-questions
Managing, Testing and Deployment of Discord Bot
I am relatively new to Discord.js and currently building a bot that incorporates ChatGPT. My goal is to host it on a platform like Heroku for continuous availability. However, I'm unsure about the best practices for testing new features without affecting the live bot.
Here are my questions:
How can I maintain a development environment for testing new features without impacting the main bot running on the cloud server?
Is it advisable to have two separate bot instances—one for testing and one for the live version? If yes, how can I efficiently manage this process?
Once I'm satisfied with a new feature, what is the recommended approach for deploying the updated code to the main bot on the cloud server?
I appreciate any advice or best practices from more experienced Discord.js developers.
Thank you!
5 replies