feature:1.点歌功能,2.签到功能
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import asyncio
|
||||
import json
|
||||
import logging
|
||||
import re
|
||||
import time
|
||||
@@ -326,7 +324,7 @@ class Robot(Job):
|
||||
except Exception as e:
|
||||
self.LOG.error(f"group_member_change error: {e}")
|
||||
try:
|
||||
asyncio.create_task(self.music.get_music(message=msg)) # ✅ 推荐在事件循环中使用
|
||||
self.music.get_music(message=msg) # ✅ 推荐在事件循环中使用
|
||||
except Exception as e:
|
||||
self.LOG.error(f"get_music error: {e}")
|
||||
|
||||
@@ -621,6 +619,8 @@ class Robot(Job):
|
||||
|
||||
except Exception as e:
|
||||
self.LOG.error(f"xiu_ren_pdf_send error:{e}")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
heisi_path = generate_pdf_from_images("xiuren/heisi")
|
||||
print(heisi_path)
|
||||
print(heisi_path)
|
||||
|
||||
Reference in New Issue
Block a user