Replymessage unavailable
If removing the magisk module (which bricked your device) can fix your device, just enter the given command in adb and let the phone reboot
Command: adb wait-for-device shell magisk --remove-modules
Note:
1. This will remove every module you had installed.
2. Removing some modules might still not fix the device, in that case you will have to format data or clean flash rom