This could be done by using VirusTotal's Public API. The constraints of the public API are really generous and should therefore be sufficient for a university Discord server.
For the implementation we can use the official library provided by VirusTotal.