discordjs / RPC

A simple RPC client for Discord
MIT License
466 stars 191 forks source link

Give some semblence of IPC/Websocket information. #94

Closed Sxribe closed 3 years ago

Sxribe commented 3 years ago

Right now, it is really easy to get confused when the default example application (in README.md) is used and it doesn't work. This PR should add more information, so that the problem is more easily diagnosed.

advaith1 commented 3 years ago

The example should use ipc, as websocket use is deprecated

NotSugden commented 3 years ago

https://github.com/discord/discord-api-docs/pull/1782 the rpc.api scope seems to have also been removed, this should also be removed from the example

devsnek commented 3 years ago

It is not this library's job to document discord's policy decisions.

Sxribe commented 3 years ago

What is the point to have an example with outdated scopes and depreciated settings? The library's job is to help developers interface with Discord's RPC. I don't see how changing the example and adding a warning to the documentation.

The information is outdated and should be fixed for future developers.