适配哔哩哔哩直播间ws协议的Nonebo2适配器
Project description
配置
DRIVER=~websockets # 必须有的正向ws的Driver
rooms=[123, 123, 123] # 直播间房间号
manual_login=true # 是否需要手动登录 (登录以后才可以用send方法向直播间发送消息) 默认false(还没实现)
bili_cookie="buvid***" # 登录用的cookies (登录以后才可以用send方法向直播间发送消息) 默认"",没有配置将使用二维码登录
已实现事件
消息类
Danmu_msg弹幕
Super_chat_message醒目留言
通知类
`Combo_send`连击礼物`Send_gift`投喂礼物
`Common_notice_danmaku`限时任务
`Entry_effect`舰长进房
`Interact_word`普通进房消息
`Guard_buy`上舰
`User_toast_msg`续费舰长
`Notice_msg`在本房间续费了舰长
`Like_info_v3_click`点赞
`Like_info_v3_update`总点赞数
`Online_rank_count`在线等级统计
`Room_change`房间信息变动
`Room_real_time_message_update`房间数据
`Watched_change`直播间实时观看人数
`Stop_live_room_list`实时下播列表
`Room_real_time_message_update`房间数据
`Anchor_lot_start`天选之人开始
`Anchor_lot_award`天选之人结果
已实现api
send 发送弹幕
Todo(大饼):
- 登录制作
- 代码重构
鸣谢
顺便一提
初出茅庐, 有啥好的意见or代码有啥bug欢迎提交
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot-adapter-bilibili-0.0.7.tar.gz.
File metadata
- Download URL: nonebot-adapter-bilibili-0.0.7.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.20.0.post1 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f22c5a7df01c83dcafe756739d73f180b056481952c9534a8a4aae0d1dc7747
|
|
| MD5 |
32b06048c81fc63e8a0951957b76eb5d
|
|
| BLAKE2b-256 |
54c8c9a1728ac5bf6d380e76839be522801e7d9a19c94ee477186502a0dbff23
|
File details
Details for the file nonebot_adapter_bilibili-0.0.7-py3-none-any.whl.
File metadata
- Download URL: nonebot_adapter_bilibili-0.0.7-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.20.0.post1 CPython/3.12.3 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2618dd4348cd651620b88619ce98fdd664738cb6751912f79054dab3432315e7
|
|
| MD5 |
d24c51deb365943390eb818668067682
|
|
| BLAKE2b-256 |
d51e2a7674be7c4a4705947fd9cf3b8a341de2b0efeee7150c76773dbb03273e
|