Copy Steam's rich presence to Discord using given profiles.
- Node.js (v16.3.0 used in testing)
- Discord (desktop client)
- Steam account
git clone git@github.com:ramadan8/Presence.git
cd Presence
npm i
Create a new file in the folder called .env
. Within this file, place the following values, replacing the items in the double quotes with sensible values.
STEAM_USERNAME = "your_steam_username"
STEAM_PASSWORD = "your_steam_password"
You may type the following command to start Presence in the background. --no-autorestart
acts as a safety net to not spam Steam's API with login requests.
npm start
If you have a shared_secret
from SDA or your phone, you may add it as the STEAM_SECRET
environment variable. Otherwise, you should start the script with the --totp 12345
argument, replacing 12345
with your current Steam guard code. For pm2 this will be as follows.
pm2 start index.js --no-autorestart --name presence -- --totp 12345
All profiles are in the ./presence/games/
directory and listed briefly below. Please make a suitable pull request if you'd like to add more profiles.