Closed retnikt closed 5 years ago
You don't.
The only things you can do through the OAuth2 API is listed under scopes in the Discord API documentation (note that the endpoints for the rpc scopes are not publicly available.) There's no way to send messages on a user's behalf through the OAuth2 API.
Keep in mind that Selfbots are against the Discord Terms of Service, and using the a bot account is the only way you should interact with the API
I have authorised my app with OAuth 2 and got a token
Ll4MS********************PYu1e
. My client ID and secret are4864**************
and-Vzz************************Agod
How do I use these inclient.login
to login and use the API to send messages, change my status, etc, without using the Discord app?