你正在尋找繁體中文的 README.md 嗎?請點我來查看
你正在寻找简体中文的 README.md 吗?请点我来查看
日本語の README.md をお探しですか?こちらをクリックしてご覧ください
If you have a dedicated category in your Steam library for games with perfect achievements, this bot can help you maintain your collection effectively.
You just need to register a Discord Bot service and apply for a Steam API Key. This bot will periodically fetch the perfect achievements list from Steam API at your configured intervals and notify you which games are no longer perfect achievements or which games have achieved perfect achievements.
It also supports slash commands - you can use "/refresh" to manually update and check the perfect achievements list.
-
After cloning the repository locally, please install the modules via
requirements.txt
first.- Install using pip
pip install -r requirements.txt
- Install using conda
conda install --yes --file requirements.txt
- Install using pip
-
Next, please configure the following required items in
config.ini
:- STEAM_API_KEY - STEAMID64 - BOARDCAST_CHANNEL - BOT_TOKEN
- If you don't know how to obtain a certain key or ID, there are detailed instructions in the config file.
-
Finally, you can use this command to run the program:
python main.py
- During the first execution, since the database (json) is empty, the program will first request data from Steam API and obtain the perfect achievements game list, which may take some time.
- For subsequent restarts, the program will first read data from the local json file, then send requests to Steam API, so the startup time won't be as long.
- If the json file is corrupted due to unexpected reasons, feel free to delete the entire file (you can even delete the entire db folder), and the program will automatically reinitialize.
Err! > Error occurred while loading query data from database
(may be the json file is broken? try to delete it and the program will automactically create a new one.)
not writable
- Solution: Please try changing the permissions of
../db/*
first.
If you encounter any issues or have suggestions, please create an issue on GitHub.
You are also welcome to contact me via Discord for assistance: whitebear13579