So I was thinking of having an endpoint that bots can access, which returns back a boolean based on if a user is banned due to one of their other accounts that are linked to the same IP address being banned.
Basically you have 2 users User A, and User B which is an alt account of User A. If I were to ban User A, I can use this endpoint by providing User B's user id which on the API side will do some checks to determine if User B's account is associated with the same IP address as the banned account of User A. If it is the API would return true. This would be quite useful to determine whether an account is an alt of a banned user in your server. Some things this could be used for would include alt account auto-moderation. So if you were to ban a member from your server you could then have the bot check the other members in your server for alt accounts and remove them also. Or if you blacklist users on your bot after banning one of their accounts on your support server you could have the bot check that server to make sure the user using your bot isn't an alt of a blacklisted/banned user. You wouldn't have to worry about IP leaks from this since all the checks would be handled via the API and returned back as true/false and the API endpoint most likely would be restricted to the Ban Members permission or higher just like it is to view the entire ban list.
Por favor, entrar para comentar.