加入斗鱼开播下播提醒
This commit is contained in:
@@ -67,7 +67,7 @@ class DouyuRedisManager:
|
|||||||
|
|
||||||
def set_room_status(self, room_id: str, status: Dict[str, Any]) -> bool:
|
def set_room_status(self, room_id: str, status: Dict[str, Any]) -> bool:
|
||||||
key = f"{self.prefix}room_status:{room_id}"
|
key = f"{self.prefix}room_status:{room_id}"
|
||||||
return self.redis.set(key, json.dumps(status, ensure_ascii=False), ex=86400)
|
return self.redis.set(key, json.dumps(status, ensure_ascii=False))
|
||||||
|
|
||||||
|
|
||||||
class DouyuPlugin(MessagePluginInterface):
|
class DouyuPlugin(MessagePluginInterface):
|
||||||
|
|||||||
Reference in New Issue
Block a user