The Steam Workshop Telegram Bot is a dedicated tool designed to monitor updates and additions in the Steam Workshop for selected games. Users receive real-time notifications about new or updated Workshop items with detailed information.
- Tracks updates and new items in the Steam Workshop for user-selected games.
- Automatically sends notifications to users when changes occur.
- Stores all user data, including:
- Selected games for monitoring.
- Known Workshop items to avoid duplicate notifications.
- Provides comprehensive details about each Workshop item, including:
- Item title.
- File size.
- Number of subscriptions and lifetime subscriptions.
- Favorites and lifetime favorites.
- Tags.
- Direct link to the Workshop item.
- Inline navigation buttons:
- Start/stop monitoring.
- View and manage selected games.
- Intuitive menu layout for easy interaction.
- Allows users to set filters for Workshop updates based on parameters like:
- File size.
- Subscriptions.
- Favorites.
- Reset filters with a single command.
- Python 3.11 or later.
- Telegram Bot API credentials.
- Steam Web API key.
- Required Python libraries:
pyrogram
,requests
, and others listed inrequirements.txt
.
- Open Telegram and search for @BotFather, the official Telegram bot for managing bots.
- Start a chat with BotFather and use the
/newbot
command to create a new bot. - Follow the instructions to set up your bot and receive your API token (e.g.,
123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ
). - Copy the token provided (e.g.,
123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ
).
- Visit the Telegram API Authorization page and log in with your Telegram account.
- Click on "API Development Tools."
- Fill out the required form to create a new application.
- After submission, you will receive your
API_ID
andAPI_HASH
.
- Go to the Steam Web API Key page.
- Log in with your Steam account.
- Enter a domain name (e.g.,
localhost
if you are testing locally). - Click "Register" to receive your API key.
- Copy the key provided (e.g.,
ABCDEF1234567890ABCDEF1234567890
).
-
Clone the Repository
git clone https://github.com/Pfauberg/Steam-Workshop.git cd Steam-Workshop
-
Set Up Python Environment
python3 -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Required Dependencies
pip install -r requirements.txt
-
Configure the Bot
- Rename a
config_example.ini
to aconfig.ini
file in the project directory:[telegram] API_ID = "your_telegram_api_id" API_HASH = "your_telegram_api_hash" BOT_TOKEN = "your_bot_token" [steam] STEAM_API_KEY = "your_steam_api_key"
- Rename a
-
Run the Bot
python main.py
-
Start Interacting
- Open Telegram and start a conversation with your bot.
- Use
/start
to begin.
Some commands need to be typed as plain text and sent directly to the bot. The case does not matter, but the structure must be correct.
- Add a game for monitoring:
or
add 123456
add https://store.steampowered.com/app/123456/
- Remove a game from monitoring:
rm 123456
The bot provides a clear interface where the required command structures are displayed. Simply follow the instructions provided by the bot.
You can test the bot directly on Telegram: @steam_workshop_infobot [Temporarily unavailable]