Or give them a choice to create an account if they want to but not needlessly bug them about it.
Discord basically copied IRC and added voice chat. One didn't need an account for IRC why should they need one on Discord? Maybe to retain their nickname but that's it. And it was just a password, no email no phone number no nothing else.
I really liked the temporary and anarchic nature of IRC. No one was really in control.