請確認好python環境>=3.12
執行
pip install -r requirements.txt請依照以下表格設定.env
| 鍵值 | 內容 |
|---|---|
token |
機器人token |
gemini |
Google Gemini的API金鑰 |
weather |
氣象資料公開平台的API金鑰 |
{
"channels": {
"count": 數數字頻道ID
},
"urls": {
"count_on_delete_webhook": "數數字頻道的修補Webhook URL"
}
}