I tried this module and it broke my busybox (or something). Copied detach.txt file, in it I uncommnented 'Youtube', installed module in Magisk. First it said there is no detach.txt in sdcard. I went to TWRP and flashed the zip file of this module there, it was successful. Rebooted, went into magisk installed modules, where no modules were shown - magisk was broken. So I reinstalled magisk and all the modules (except Detach ofcourse) and now it's working again.
At least Youtube is still detached though.
EDIT: I used magisk 20.0, android 6.0.1 MM, latest version of detach in magisk modules.