Skip to content

simon300000/qqbot-live-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qqbot live notification

可以达到直播开始时通过CoolQ提醒QQ群的目的

运行

npm i
node index.js

或者可以通过ecosystem.config.js使用pm2

指令

通过@bot的QQ号然后带一些关键词

@会回复hi内容

  • stats: 输出JSON { mid, roomid, uname, title, follower, online }
  • test: 输出一个直播间地址

配置

编辑config.js文件

例子:

module.exports = {
  list: [{ // 可以填多个
    ws: {
      host: '127.0.0.1', // coolq http WebSocket Host
      port: 6701 // coolq http WebSocket 端口
    },
    hi: '「你好呀,我是莎茶酱」', // 被@时说的话
    targetGroups: [640969703], // 需要通知的群
    roomids: [870004] // 监测的房间号
  }],
  admins: [2241139100] // 这里是Bot管理员的信息,没啥用,可以用一点特殊指令
}

About

bilibili直播QQ群提醒bot

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published