The bot you can use is sinusbot. You can also write plugins like you want for it. So basicaly you down the plugin automatic channel creation and write your own part to it.
I wrote it in another topic that you can find here → Ideas and secrets - #5 by AimRabbit
There are also the links to the website of the sinusbot.
Another way you can do it and how its been done by the most RP projects is by using the board software woltlab burning board and a bought plugin where you can set channel groups to a specific channel for a usergroup in that board.
I post you the links and you can take a look if it is what you are looking for
That is the board software https://www.woltlab.com/ and here is the plugin Teamspeak 3 Synchronisation (WSC) - WoltLab®
But be careful about the versions! And also have in mind this board is not for free
I hope i could bring you a little bit further to your goal.