Skip to main content

适配哔哩哔哩直播间ws协议的Nonebo2适配器

Project description

assets\adapter-bilibili.png

配置

DRIVER=~websockets           # 必须有的正向ws的Driver
ROOM_ID_LIST=[123, 123, 123] # 直播间房间号
login=true                   # 是否需要登录 (登录以后才可以用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 发送弹幕

鸣谢

  • ieew: 提供代码上的帮助
  • 17TheWord: 教我使用github
  • NoneBot2: 开源代码 让我拥有这次学习机会

顺便一提

初出茅庐, 有啥好的意见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

nonebot-adapter-bilibili-0.0.6.tar.gz (8.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_adapter_bilibili-0.0.6-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page