How to test chat bots in the telegram that work on the prod?

If there is a chat bot that works and people use them (constantly), and I want to make edits/add token to it how to make the bot not crashed due to the incorrect edits? because I want to test the whole thing
in my head there is an option to create another chat bot for testing, which will have the same code as in the prod, but only in him I can make changes. And when I test and see that everything is working correctly, then you will be able to fill in for prod change.
The question then becomes how to make it work correctly?
1. Make two Windows in the IDE, where one project debowski code, and the second brodowski
2. To build a CI/CD which will be two branches of development/production?
April 3rd 20 at 18:24
1 answer
April 3rd 20 at 18:26
The second option, of course. The first - savagery. About two the bot idea is good

Find more questions by tags BotsTelegram