discord-steam-lobby-bot
This currently works by web scrapping the steam user page and checking for a join lobby link.
User discord id to steam id is stored in self hosted firestore
Further updates coming to improve things such as
- Use local json database instead of remote NoSQL database
- Create hyperlink for join lobby links
Config setup
config.json
{
"token": "your-token-goes-here",
"clientId": "your-application-id-goes-here",
"steamApiKey": "your-steam-api-key-goes-here"
}
- token: Your bot's token (Discord Developer Portal > "Bot" > token)
- clientId: Your application's client id (Discord Developer Portal > "General Information" > application id)
- steamApiKey: Get steam api key from here https://steamcommunity.com/dev/apikey
Put
config.json
at project root
serviceAccountKey.json
- In the Google Cloud console, go to the Service accounts page.
- schoolThe remaining steps will appear automatically in the Google Cloud console.
- Select a project.
- Click the email address of the service account that you want to create a key for.
- Click the Keys tab.
- Click the Add key drop-down menu, then select Create new key.
- Select JSON as the Key type and click Create.
- Clicking Create downloads a service account key file. After you download the key file, you cannot download it again.
- Rename as
serviceAccountKey.json
and put at project root
Special Thanks to C.T. Matthews
This repo is inspired by no longer maintained Mori Bot