Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为 auto select bot 加入更多日志信息 #101

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

felinae98
Copy link
Collaborator

No description provided.

@felinae98 felinae98 added the feature new feature label Oct 19, 2023
@netlify
Copy link

netlify bot commented Oct 19, 2023

Deploy Preview for send-anything-anywhere ready!

Name Link
🔨 Latest commit 8e1e5ed
🔍 Latest deploy log https://app.netlify.com/sites/send-anything-anywhere/deploys/6534f105f1168f00086736fb
😎 Deploy Preview https://deploy-preview-101--send-anything-anywhere.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (0c99615) 95.30% compared to head (8e1e5ed) 95.26%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   95.30%   95.26%   -0.04%     
==========================================
  Files          23       23              
  Lines        1511     1521      +10     
==========================================
+ Hits         1440     1449       +9     
- Misses         71       72       +1     
Files Coverage Δ
nonebot_plugin_saa/auto_select_bot.py 93.84% <90.90%> (-0.70%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -26,11 +27,13 @@ def _register_hook():

@driver.on_bot_connect
async def _(bot: Bot):
logger.info(f"connect bot {bot}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该是 refresh bot 吧,既然下面是 pop bot 的话。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要不下面 disconnect bot 好了

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

会不会没啥意义?不如写多点,比如 refreshing bot targets cache 之类的。

@felinae98 felinae98 merged commit 83bd81f into main Oct 23, 2023
17 checks passed
@felinae98 felinae98 deleted the feat/debug-info branch October 23, 2023 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants