Hello,
You can use AdguardHome to block Discord and several other "services", the setup is a little tricky you have to force the logs to be in ram else you'll burn the flash, and set an alternate dns port. I have a full config if you are interested.
Regards,