aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
751 stars 160 forks source link

'Invalid token' when not accepting the ToS #699

Closed SinanAkkoyun closed 1 year ago

SinanAkkoyun commented 1 year ago

Which package is the feature request for?

The core library

Feature

When using new accounts, the ToS acceptance has not been made. This leads to the selfbot to think that the token is invalid.

Ideal solution or implementation

It would be awesome if the selfbot could automatically accept the ToS

Alternative solutions or implementations

No response

Other context

No response

aiko-chan-ai commented 1 year ago

What do you mean ToS ?

SinanAkkoyun commented 1 year ago

I mean Terms of Service, there is a popup when not having logged in for a while :)

SinanAkkoyun commented 1 year ago

Hey @aiko-chan-ai I hope you don't mind the ping. For now, when I want my selfbots to join my guild, I need to accept the terms of service manually before anything can happen. Would it be ok for you to implement accepting the ToS? Can I somehow help with that? Thank you very much

aiko-chan-ai commented 1 year ago

I can't reproduce

SinanAkkoyun commented 1 year ago

I will provide you with a token, is there a way I can privately send it to you?

aiko-chan-ai commented 1 year ago

discord .-.

SinanAkkoyun commented 1 year ago

I sent you an FA

Turkidev commented 1 year ago

send PATCH req to this api https://discord.com/api/v9/users/@me/agreements with this payload { "terms": true, "privacy": true }

aiko-chan-ai commented 1 year ago

todo image

aiko-chan-ai commented 1 year ago
[WS => Shard 0] Setting a HELLO timeout for 20s.
[WS => Shard 0] [CONNECTED] Took 353ms
[WS => Shard 0] Clearing the HELLO timeout.
[WS => Shard 0] Setting a heartbeat interval for 41250ms.
[WS => Shard 0] [IDENTIFY] Shard 0/1 with intents: 3276799 😊
[WS => Shard 0] [READY] Session ~~unknown~~ | ResumeURL wss://gateway-us-east1-d.discord.gg
[WS => Shard 0] [ReadyHeartbeat] Sending a heartbeat.
[USER_REQUIRED_ACTION] You need to accept the new Terms of Service and Privacy Policy.
[READY] Received 1 guilds, 0 large guilds
[WS => Shard 0] Shard received all its guilds. Marking as fully ready.
[WS => Shard 0] Heartbeat acknowledged, latency of 237ms.
[USER_REQUIRED_ACTION] Successfully accepted the new Terms of Service and Privacy Policy.
[USER_REQUIRED_ACTION] All required actions have been completed.
SinanAkkoyun commented 1 year ago

Great thank you 😍