Refactor record command's handling of repo and channel

Created by  dblsaiko  on March 29, 2024
DDEUZMXQRYVBGTJWKZY6W4UFSDCLB6JV7VX32AOTY3ZPD7OS6P6QC
Change contents