I'd like to do something pretty simple, get the invite code the user clicked to join my guild/channel.
The reason is that i'd like to make invites for a private channel that automatically adds the appropriate role to the user so s/he can actually access that channel.
I couldn't find any way to do this.
The only "solution" i see would be to monitor the clicks count of the invite link and check if it incremented when a new user comes in. I think we can all agree that it's a far from good solution for many reasons...
I guess the "discord way" of doing this is to create a whole dedicated discord guild but i'd like to keep all the users to one place.
Maybe i missed something but after 3h of research logging every single events server side that seems unlikely.
Have a good day!
U moet u aanmelden om een opmerking te plaatsen.