It's no secret that the steam platform has significant drawbacks and general slowness and
sluggishness. News about apps
and games there are in disarray and without sorting by date and time. This bot allows you to receive
the latest news
from application developers in a timely manner, in a convenient application (telegram)
Develop a telegram bot that will promptly deliver news on games and software from the steam
platform.
Add the ability to ignore uninteresting applications.
Place the bot on the linux(raspbian) server using PM2(advanced, production process manager for
node.js).
Make the bot multilingual.
- The first and most important thing is that the bot does not use or store any private information about users. Only open sources and the steam API are used.
- The bot determines the user's language from the set language in the telegram settings. Two languages are supported so far - Russian and English. (21.08.2022)
- After the greeting, the bot will prompt the user to register. Registration is very simple, you only need a Steam ID.
- When registering, the bot requests the user's application library from the steam, according to the entered Steam ID, and then saves the user's data to the database.
- The bot has a scheduler.
- Every 30 minutes, news is searched for and sent to users.
- In case of problems (and the steam platform is not the most agile), problematic requests will be repeated every 5 minutes after failure.
- Every 24 hours, the bot updates the user application database.
- In the settings you can find:
- "Set/Update Steam ID" - This is necessary for registration.
- "Check your steam ID" - Here you can see the installed steam ID and activity mode.
- "Check available wishlist" - Checking that the wishlist is available and news on games from the list will be received.
- "Set "active" mode" - Set the active mode. Only in this mode the bot will send you news.
- "Set "inactive" mode" - Set inactive mode if you are tired of the news in general.
- "Clear black list" - Clearing the blacklist.
- "Black list" - List of blacklisted applications.
- You can add the application to the blacklist under the news.
- Added a wish list for accounts that have access to game information in steam settings. In order
for the bot to get access to the desired list, the privacy settings in steam should look like
this: (updated 21.08.2023)
/start
/settings
/help
- telegram bots - library to create telegram bots
- telegram bots extensions - extensions bots for telegram bots library
- lombok - saves us from boilerplate code
- log4j + logback - logger
- sqlite (jdbc and dialect) - database
- junit + mockito - tests
- jacoco - code coverage (85%)
Versions:
- Java: 17
- Spring Boot: 2.7.12
- SQLite: 3.44.0.0
- Telegrambots: 6.7.0
- Maven: 3.2.0
- JUnit5: 5.8.2
- Mockito: 4.5.1
- Jacoco: 0.8.11
You can use its services yourself if it is online - https://t.me/steam_newsy_bot.
(update 21.08.2023)
I didn't rent a server for a bot, but just used raspberries mini-PC iRU 114. This is my little
production server
from improvised means.