Skip to content

Commit

Permalink
Merge pull request #63 from djkcyl/dev
Browse files Browse the repository at this point in the history
1.5正式版
  • Loading branch information
djkcyl authored Jun 14, 2023
2 parents 2c8ef4f + 5e852ed commit fe83387
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Build Nuitka Binary
run: |
pdm add "https://github.com/Nuitka/Nuitka/archive/factory.zip"
pdm run python -m nuitka --onefile --standalone --show-progress --assume-yes-for-downloads --output-dir=nuitka --windows-icon-from-ico=tv.ico --user-package-configuration-file=nuitka-${{ matrix.group }}.yml main.py
pdm run python -m nuitka --onefile --standalone --assume-yes-for-downloads --output-dir=nuitka --windows-icon-from-ico=tv.ico --user-package-configuration-file=nuitka-${{ matrix.group }}.yml main.py
- name: Get commit hash
id: commit
Expand Down
4 changes: 3 additions & 1 deletion aunly_bbot/model/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class _Bilibili(BaseModel, extra=Extra.ignore):
use_wordcloud: bool = False
use_bcut_asr: bool = False
asr_length_threshold: int = 60
captcha_address: Optional[AnyHttpUrl] = None
captcha_address: Optional[AnyHttpUrl] = AnyHttpUrl(
"https://bbot-captcha:6082", scheme="https"
)

# 验证是否可以登录
@validator("use_login", always=True)
Expand Down
2 changes: 1 addition & 1 deletion aunly_bbot/static/bot_config.exp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Bilibili:
use_wordcloud: true # 是否使用词云
use_bcut_asr: true # 是否使用 BCut 接口进行 AI 语音识别
asr_length_threshold: 60 # 调用语音识别的最小长度阈值(秒)
captcha_address: null # 验证码识别服务地址
captcha_address: "https://captcha-cd.ngworks.cn" # 验证码识别服务地址
Event:
mute: true # 是否向管理员发送被禁言的事件提醒。
permchange: true # 是否向管理员发送权限变更的事件提醒。
Expand Down
16 changes: 8 additions & 8 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "aunly-bbot"
version = "1.5.0-beta1"
version = "1.5.0"
description = "一个用于 QQ 群内高效推送哔哩哔哩 UP 动态及直播的机器人"
readme = "readme.md"
keywords = ["graia", "graiax", "bilibili", "qqbot", "grpc", "playwright", "fastapi", "bot", "openai", "chatgpt"]
Expand Down

0 comments on commit fe83387

Please sign in to comment.