Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Configuring the Steam integration

AtlasC0R3 edited this page Jan 7, 2021 · 2 revisions

So, you want the bot to play the games you yourself have recently played on Steam, but don't know how? Fear not, this is the right place to be.

What this will do is that it will either completely replace activities.json if you set it to mode 1, or append your recently played Steam games to activities.json if you set it to mode 2.

So, for example, you have recently played DOOM, Among Us, SteamVR and... I dunno, Black Mesa, the bot will set its Discord activity to play a random game, so it might say "Playing SteamVR" once, and next time it might say "Playing DOOM".

Sounds cool? Awesome. Let's get started now.

Getting started

So, open up config.json using your favorite text editor (MS Notepad, Pluma, VSCodium.. whatever, really!), and set useSteamRecentlyPlayed to 1 if you want it to use only your recently played Steam games, or 2 if you want it to append all of your recently played Steam games to activities.json. This will tell the bot what to do while using Steam's API.

Now, go to the steamApi entry and set userId to your user ID on Steam. Notice: this is your steam ID in numbers, also known as the SteamID64. If you don't know what that is, this can help you. You should put your user ID in quotation marks ("), too.

Then, go to the api entry, and you can put in your Steam API key. If you don't know what that is, this is where things may get a bit tricky. Don't worry, this link will help you through.

And voilà, you have done the necessary steps to configure the Steam integration with the bot! Now, there is one last thing you might want to do before you call it "all done".

Configuring the excluded games

Let's say you played something on Steam you don't want your bot to display, or that you don't want it to display VR games. Well, this is where excludedGames could come in handy.

What it does is it tells the program to exclude any games with the configured keywords, so that the bot won't play them. For example, you played SteamVR, fpsVR, OVR Toolkit, Black Mesa and DOOM, and you don't want the bot to play anything with the word "VR" in it. To do so, you can set excludedGames to ["VR"] and it should now only play Black Mesa and DOOM. Additionally, if you don't want it to play anything that has the word "DOOM" too, you can add "DOOM" to the list in excludedGames, so that the list will look like ["VR", "DOOM"].

The End

You're done, now! You've fully configured the Steam integration now!.. what, was I supposed to add anything else? because I ran out of words here.

Clone this wiki locally