From 8cf43101526469fd0535ca686c3a680f8edd06d7 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 11 Oct 2020 12:52:15 +0800 Subject: [PATCH] =?UTF-8?q?init=5Froom=E6=94=AF=E6=8C=81=E9=99=8D=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/chat.py | 4 ++++ blivedm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/chat.py b/api/chat.py index b488fdb..a3a9a74 100644 --- a/api/chat.py +++ b/api/chat.py @@ -101,6 +101,10 @@ class Room(blivedm.BLiveClient): self.clients: List['ChatHandler'] = [] self.auto_translate_count = 0 + async def init_room(self): + await super().init_room() + return True + def stop_and_close(self): if self.is_running: future = self.stop() diff --git a/blivedm b/blivedm index 4c64c1b..3156142 160000 --- a/blivedm +++ b/blivedm @@ -1 +1 @@ -Subproject commit 4c64c1bd1e9fe634894d7b781eab1fef0e753907 +Subproject commit 3156142011c31343fb8acc0c14233c2b7ae0070f