Discord has no built-in recording, so the options are a bot in the server, OBS capturing the audio output, or each person recording locally and syncing later.