feature:1.点歌功能,2.签到功能
This commit is contained in:
4
robot.py
4
robot.py
@@ -327,6 +327,10 @@ class Robot(Job):
|
|||||||
self.music.get_music(message=msg) # ✅ 推荐在事件循环中使用
|
self.music.get_music(message=msg) # ✅ 推荐在事件循环中使用
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.LOG.error(f"get_music error: {e}")
|
self.LOG.error(f"get_music error: {e}")
|
||||||
|
try:
|
||||||
|
self.signin.member_sign_in(message=msg) # ✅ 推荐在事件循环中使用
|
||||||
|
except Exception as e:
|
||||||
|
self.LOG.error(f"member_sign_in error: {e}")
|
||||||
|
|
||||||
if msg.is_at(self.wxid): # 被@
|
if msg.is_at(self.wxid): # 被@
|
||||||
self.toAt(msg)
|
self.toAt(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user