If it is a clear policy its not discrimination, and the 20,000 baht requirement has been in place for decades.
The Korean questioning, however, was on arbitrary topics and bizarre subjects. Surley even the most obtuse of AN posters can make that distinction.
https://e.vnexpress.net/news/travel/thai-netizens-complain-of-strict-korean-immigration-procedures-4673603.html