cssxsh / bilibili-helper

Mirai Console 插件开发计划
https://github.com/users/cssxsh/projects/4
GNU Affero General Public License v3.0
143 stars 18 forks source link

[Feature request] 在深夜/凌晨时开播的提醒不@全体/不提示 #80

Closed Proanx closed 2 years ago

Proanx commented 2 years ago

来自一个阴间作息主播的反馈,半夜三点多开播的时候会进行通知并@全体,有些观众被打扰到,也无法直接通过屏蔽群来解决 同时半夜也有偷偷开播的需求,内容也不像日常那么正式,这个时候就不希望发送直播通知,能不能看到直播就凭缘分,但是深夜依然有提醒扼杀了这种情况 可以考虑加一个免打扰的权限,用于在指定时间段以后不进行@全体、不进行任何提醒的功能

LaoLittle commented 2 years ago

定时免打扰我觉得可以有

然后比如早上把免打扰的内容放在转发消息内一并发出,参考苹果的摘要

cssxsh commented 2 years ago

可以考虑 和 #78 做成一个功能 在特定条件归并消息 仅作历史摘要

cssxsh commented 2 years ago

感觉如果添加时间间隔的话,就和权限 xyz.cssxsh.mirai.plugin.bilibili-helper:live.atall 的作用交叉了 也需要考虑取消这个权限,改为配置

Proanx commented 2 years ago

要是取消了这个权限挪进配置里面,再把配置改成cron,应该可以实现配置自由度爆炸(´・ω・`)

cssxsh commented 2 years ago

with https://github.com/cssxsh/bilibili-helper/releases/tag/v1.5.0-RC

https://github.com/cssxsh/bilibili-helper/blob/85bf7d32ccd91260e7592d0f8043c1aae9368dc3/README.md?plain=1#L37-L43