Restrict posting in a category until they "like" a topic

I figured it out (with the help of ask.discourse.org).

I had to enable badge sql and then create a badge that is assigned when someone likes the specific post. I then created a group that Discord Automation auto assigns based on a user having the badge. I have the “everyone” group only read access to category so they can only react. I gave the custom group full access.

2 Likes