發布 V1.0.2:排行榜、手動換日、設定改用 md 格式、新預設值

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
SahikandClaude Opus 5.5 committed 2026-11-07 22:09:10 +08:00
1 parent 9286b64518
commit f5a3b91783
8 files changed
+169 -29

No files matched your search

+7 -7
View File
@@ -1,20 +1,20 @@
import os
from zoneinfo import ZoneInfo
VERSION = "V1.0.1"
VERSION = "V1.0.2"
TZ = ZoneInfo("Asia/Taipei")
DB_PATH = os.getenv("DB_PATH", "./data/lunarhelper.db")
# 管理員用 /設定 修改的項目,每個伺服器各自一份,這裡只是預設值
# 從資料庫讀出來時會轉成這裡的型別
# 兩個頻道的預設值是測試伺服器的,其他伺服器要先用 /設定 指定才會運作
# 頻道的 0 代表未設定,每個伺服器要先用 /設定 指定才會運作
DEFAULT_SETTINGS = {
"trigger_channel": 1360009767262748867,
"trigger_channel": 0,
"room_name": "🥂 °·˚|私人包廂",
"empty_seconds": 30,
"signin_text": "月眠🙏",
"signin_text": "簽到",
"signin_reward": 1,
"currency_name": "願力",
"signin_reaction": "🙏",
"signin_channel": 1567408046479515718,
"currency_name": "元",
"signin_reaction": "✅",
"signin_channel": 0,
}