Skip to content

Commit

Permalink
fix: beautify tips
Browse files Browse the repository at this point in the history
  • Loading branch information
dingdangdog committed Apr 11, 2024
1 parent ac30370 commit f5c7c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blivemd-voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
async def main():
init_config()
init_session()
print(f'语音机器人启动成功,启动模式{MODE}')
print(f'语音机器人启动成功,监控直播间:{ROOM_IDS},语音模式{MODE}')
try:
await run_single_client()
await run_multi_clients()
Expand Down Expand Up @@ -105,7 +105,7 @@ class MyHandler(blivedm.BaseHandler): # 类变量,将被所有类的实例共

# 心跳监听
def __init__(self):
self.heart = 0
self.heart = HEART_PRINT

def _on_heartbeat(self, client: blivedm.BLiveClient, message: web_models.HeartbeatMessage):
if self.heart == HEART_PRINT:
Expand Down

0 comments on commit f5c7c2b

Please sign in to comment.