set the prefix length automatically
function to initialize joint bot channels