BotListBot
1.0.0
這是負責維護 Telegram BotList 的聊天機器人,這是一個社群驅動的管道,用於收集 Telegram 上最好的機器人。
該機器人透過充當 BotList 的鏡像來簡化導航,並自動執行 BotListChat 社群提交、審查和發布機器人的過程。
該存儲庫旨在為機器人構建者提供靈感和技術指導,主要針對使用令人驚嘆的 python-telegram-bot 庫的人。
JosXa/BotListBot 根據 MIT 授權獲得許可。
pip install pipenv
)推薦的原因是它是讓您入門最快的選擇。
JosXa/BotListBot
」並建立您的開發容器。template.env
中的變數並將檔案另存為.env
並保存在 checkout 的根資料夾中。pipenv run python -m botlistbot.main
運行項目docker-compose up -d
pipenv run python scripts/initialize_database.py seed
建立資料庫並為其設定種子docker-compose down
https://github.com/JosXa/BotListBot
(或您自己的分支)template.env
中的變數並將檔案儲存為根資料夾中的.env
scripts/initialize_database.py
一次。然後打開其運行配置,將單字“seed”添加到參數列表中,然後再次運行它。這將用一些初始的、必需的值來填充資料庫。botlistbot/main.py
docker-compose up -d
pipenv run python scripts/initialize_database.py seed
建立資料庫並為其設定種子docker-compose down
git clone https://github.com/JosXa/BotListBot
(或您自己的分支)pipenv install
template.env
中的變數並將檔案另存為.env
並保存在 checkout 的根資料夾中。pipenv run python scripts/initialize_database.py seed
建立資料庫並為其設定種子pipenv run python -m botlistbot.main
運行項目如果您查看 settings.py,您可以看到一堆透過decouple.config(...)
呼叫檢索的環境變數。這些設定可以透過您在根資料夾中建立的.env
檔案進行控制。