-
Notifications
You must be signed in to change notification settings - Fork 11
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
适配 DoDo #114
适配 DoDo #114
Conversation
✅ Deploy Preview for send-anything-anywhere ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #114 +/- ##
==========================================
+ Coverage 95.26% 95.74% +0.47%
==========================================
Files 23 24 +1
Lines 1522 1670 +148
==========================================
+ Hits 1450 1599 +149
+ Misses 72 71 -1 ☔ View full report in Codecov by Sentry. |
update 一下文档和 readme |
加了 |
| 开黑啦私聊/频道 | | | | ✅ | | | | | | ||
| Telegram 普通对话/频道 | | | | | ✅ | | | | | ||
| 飞书私聊/群聊 | | | | | | ✅ | | | | ||
| DoDo 私聊/群聊 | | | | | | | | ✅ | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
私聊的 TODO 是啥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
啥?
nonebot-plugin-send-anything-anywhere/nonebot_plugin_saa/adapters/dodo.py
Lines 229 to 241 in cea52e4
@register_list_targets(adapter) | |
async def list_targets(bot: BaseBot) -> List[PlatformTarget]: | |
assert isinstance(bot, BotDodo) | |
targets = [] | |
for island in await bot.get_island_list(): | |
for channel in await bot.get_channel_list( | |
island_source_id=island.island_source_id | |
): | |
targets.append(TargetDoDoChannel(channel_id=channel.channel_id)) | |
# TODO: 私聊 | |
return targets |
这个是 auto_select_bot 的
#112
不想写单测呜呜