Crates.io | discord-toggle-rpc |
lib.rs | discord-toggle-rpc |
version | 0.1.0 |
source | src |
created_at | 2021-12-23 09:43:45.002109 |
updated_at | 2021-12-23 09:43:45.002109 |
description | A simple command-line app to toggle Discord Rich Presence written in Rust. |
homepage | |
repository | |
max_upload_size | |
id | 502137 |
size | 33,566 |
A simple command-line app to toggle Discord Rich Presence written in Rust.
Discord Rich Presence is status that shows up when you're playing game or listening to Spotify.
cargo install discord-toggle-rpc
Your Discord token usually will look like
mfa.<random characters>
or <random characters>
To find your Discord token open your Discord with Discord App or browser
On browser, open your browser DevTool (Inspect Element) and go to Network tab.
Click on any XHR request and find your authorization
request header.
On Discord App, hold Ctrl+Shift+i
to open the DevTool and do the rest following the browser method.
If this doesn't work, please use the browser method instead.
Copy your Discord Token and add new line in /etc/environment
DISCORD_TOKEN=<your token>