I created a discord server for an open source project of mine, but grew to dislike it. It got spammed multiple times, people are off topic and talking about their lives in channels that aren't for that, and so I started pushing the community toward GitHub discussions.
Discord isn't searchable, nor archivable, nor public, but GitHub is (I'm aware of another conflict with Microsoft for some people, but to me this is the easiest solution to get contributors and have an easy CI setup).
I haven't had much success yet, but I'm slowly shutting down all links to the discord and will let it die (for outside contributors at least). I might keep it to stay in touch with a few developers, to refine issues and prepare migrations that aren't ready to be turned into public discussions/ issues / pull requests.