Discord login
When the user is not in the discord server i close the connection to my server. the script only acts as a client and doesnt provide the functionality. Since the server who the user connects to does everything.
You can't make your script only work if someone performs some unrelated action, like joining your Discord.
okay understanable. And when the script offers functionality without logging in and the login option gets optional?
Any time you do things that aren't related to the main purpose of the script you run the risk of your script getting flagged. A link to your Discord is one thing that's normally acceptable; trying to figure out if someone has joined your server is iffy.
okay thanks for the feedback. I removed the need to join the discord server.
Am i allowed to add discords oauth2 login to a script to check if the user is in my discord server?
Im currently doing this for https://greasyfork.org/de/scripts/401910-diep-io-tool