斗鱼鱼吧订阅功能
This commit is contained in:
@@ -458,11 +458,7 @@ class DouyuPlugin(MessagePluginInterface):
|
||||
for gid in groups:
|
||||
if GroupBotManager.get_group_permission(gid, self.feature) == PermissionStatus.ENABLED:
|
||||
try:
|
||||
subs = self.redis_manager.list_group_subscribers(gid)
|
||||
if subs:
|
||||
await self.bot.send_at_message(gid, text, subs)
|
||||
else:
|
||||
await self.bot.send_text_message(gid, text)
|
||||
await self.bot.send_text_message(gid, text)
|
||||
except Exception as e:
|
||||
logger.error(f"发送斗鱼鱼吧动态提醒失败: {e}")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user