Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msciotti/discord_rpc_tester
Python script for testing Discord RPC commands against the SDK or local client
https://github.com/msciotti/discord_rpc_tester
Last synced: 16 days ago
JSON representation
Python script for testing Discord RPC commands against the SDK or local client
- Host: GitHub
- URL: https://github.com/msciotti/discord_rpc_tester
- Owner: msciotti
- License: mit
- Created: 2018-03-19T07:00:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T22:03:07.000Z (almost 7 years ago)
- Last Synced: 2024-11-28T22:30:44.392Z (3 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord_rpc_tester
This script and series of tests can be used for testing the suite of RPC commands against a local client, or the GameBridge SDK to ensure that they all function properly.
## Steps
1. Clone the repo
2. Go to [your Discord applications](https://discordapp.com/developers/applications/me) and find your RPC-whitelisted application
3. Make sure you create a bot user for your application, as you will need the Bot token for the token exchange
4. Copy the necessary information into `utils/constants.py`
5. Run the script, inputting the port number at which the SDK or local client is listening. For local clients, open the console and search at the start of the logs for the port number. For the GameBridge SDK, input the port number returned from the initialize callback.