You can create an appeal on the forum just like you would for a Minecraft ban (here). Make sure that you mention that the appeal is for a discord account and include your discord tag.
I’ve been there before where I got banned and had no idea why. I reached out to the mods to ask what happened, and they usually give a response once they’ve had time to check things. It’s also a good idea to review the server rules just in case there’s something I missed.