mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-04-19 16:01:22 +02:00
Get notifications about Steam Comments on Telegram
- Fixed SLEEPTIME not working (always 0) - Refined logging - Added metadata to /info command - Bot now automatically sets own commands for autocompletion |
||
---|---|---|
.github/workflows | ||
botIO | ||
commands | ||
config | ||
steam | ||
.gitignore | ||
bot.go | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
SteamSalty
SteamSalty notifies you on telegram about new comments on any steam profile.
Running with Docker Compose
Docker image: https://hub.docker.com/r/watn3y/steamsalty
Example compose file:
services:
steamsalty:
image: watn3y/steamsalty:latest # use :<branchname> to be up-to-date with any branch
container_name: steamsalty
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
environment:
#- STEAMSALTY_LOGLEVEL=
- STEAMSALTY_TELEGRAMAPITOKEN=
- STEAMSALTY_STEAMAPIKEY=
- STEAMSALTY_CHATID=
- STEAMSALTY_WATCHERS=
#- STEAMSALTY_SLEEPINTERVAL=
Running on Linux
Grab a release from the releases page. Make sure to set your environment variables accordingly.
Environment Variables
Variable | Description | Default |
---|---|---|
STEAMSALTY_LOGLEVEL |
LogLevel as described here | 1 (Info) |
STEAMSALTY_TELEGRAMAPITOKEN |
Telegram Bot Token, get from @BotFather | None, required |
STEAMSALTY_STEAMAPIKEY |
Steam API Key, get from https://steamcommunity.com/dev/apikey | None, required |
STEAMSALTY_CHATID |
Chat to notify about new Comments | None, required |
STEAMSALTY_WATCHERS |
SteamIDs (in SteamID64 format) to check for new Profile Comments | None, required |
STEAMSALTY_SLEEPINTERVAL |
Amount of time to wait between requests to Steam in seconds | 60 |