GithubHelp home page GithubHelp logo

xigongzi / bili-live-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lc4t/bili-live-bot

0.0 1.0 0.0 332 KB

Bilibili直播礼物答谢、定时广告、关注感谢工具

License: MIT License

Python 100.00%

bili-live-bot's Introduction

B站直播多用户答谢姬

礼物、牌子升级、新关注、自动回复、自动禁言、公告、金银瓜子统计

配置

文件conf/user.toml

  1. 填入账号密码
  2. 修改manage_room=[直播间长ID]
  3. 定时循环发送的公告内容 `alerts = ["广告1", "广告2"]``
  4. 循环时间间隔 alert_second = 300, 当开播时才会发送,单位是秒
  5. 礼物连送等待 gift_comb_delay = 3, 避免连送导致多条感谢
  6. 送礼感谢格式 gift_thx_format = "感谢{username}投喂的{giftname}x{num}" 大括号里面的是替换变量
  • 银瓜子感谢格式 silver_gift_thx_format = "感谢{username}投喂的{giftname}x{num}" 大括号里面的是替换变量
  • 金瓜子感谢格式 gold_gift_thx_format = "感谢{username}投喂的{giftname}x{num}" 大括号里面的是替换变量
  1. 上船感谢格式 guard_thx_format = "感谢{username}投喂的{giftname}x{num}"
  2. 关注感谢格式 focus_thx_format = "谢谢{username}的关注"
  3. 粉丝牌子升级(只能统计前50)medal_update_format = "恭喜{username}的牌牌升到LV{new_level}!"
  4. 感谢礼物是否只在开播时开启only_live_thx = false
  5. 新关注检查周期 fans_check_delay = 30
  6. 粉丝牌子检查周期medal_update_check_delay = 60
  7. 支持[[users.reply]]添加自动回复,[[users.ban]]添加自动禁言,这是原有的BRM功能,弹幕符合指定格式即触发
  8. 增加了一个玩法,金瓜子统计weight/银瓜子统计height
  9. 弹幕默认长度danmu_length = 30
  10. 增加感谢内容变量从一个列表中随机,达到"主播吃掉了xx投喂的节奏风暴,还想吃许多{random}"的效果

赞助和协议

  1. 新功能一律提issue
  2. 允许使用本代码在淘宝等商家提供代挂服务
  3. 接受赞助:请直接在 https://live.bilibili.com/8478563 上船
  4. 私信上面那个主播,提供辣条感谢姬代挂

bili-live-bot's People

Contributors

lc4t avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.