init_room支持降级

This commit is contained in:
John Smith 2020-10-11 12:52:15 +08:00
parent d6897ca4b4
commit 8cf4310152
2 changed files with 5 additions and 1 deletions

View File

@ -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()

@ -1 +1 @@
Subproject commit 4c64c1bd1e9fe634894d7b781eab1fef0e753907
Subproject commit 3156142011c31343fb8acc0c14233c2b7ae0070f