I suppose the project can do this censorship if they want to (although I should think usually it should be avoided), but then that project should do it themself, rather than Discord or someone else.
Absolutely agreed, although technically a project group could democratically decide they are willing to accept discord's censorship standards. I don't think this decision should be made lightly, but it's okay if the group decides it.