I'm currently in a club that has a connected discord server, and we're having issues with some players not having the same nickname on the server and in game. I was wondering if there was a way to have a program collect the club member names to make it easier to mark those with different names in the discord server? Ultimately my goal is to have a bot ask new users on the discord server to enter their trove names and not let them into other channels until they provide a username that matches with the club member list.

I'm not looking for an already built third party app, I just want to know a way to connect a club world to a third party app that I plan to make for this specific purpose. A programming library would do. Anything would do.