GitHub link to file in question
Hey guys,
I have a question regarding 2 functions in the file above. There's a getSuggestions and getIdentification. These are used to register or login new users to the forum.
What exactly do the variables that these functions retriece 'do'? I realised that getIdentification is normally used to retrieve a users email to check for existing users with the same email, however to what length can this be used? Could I add a username too and it will check for both email and username?
getSuggestions is also strange to me. Where and how are the variables in here used? I've realised that 'suggesting' a valid avatarUrl will cause the new account to automatically use this avatar, however to what extent can this be used?
Reason for asking this is because I'm currently building my own Discord login extension and I want as much information to be automatically transferred over. I feel like this is done with these functions yet I don't know to what extent I can use them.
Thanks in advance!