调整 message_util 的发送text方法名,方便替换wcf.send_text。加入了虚拟群组管理功能;
This commit is contained in:
@@ -109,8 +109,8 @@ class VideoManPlugin(MessagePluginInterface):
|
||||
file_abspath = self._download_video("https://api.guiguiya.com/api/video/fuji?type=json")
|
||||
|
||||
if not file_abspath:
|
||||
self.message_util.send_text_msg(f"\n❌视频下载失败,请稍后再试",
|
||||
(roomid if roomid else sender), sender)
|
||||
self.message_util.send_text(f"\n❌视频下载失败,请稍后再试",
|
||||
(roomid if roomid else sender), sender)
|
||||
return False, "视频下载失败"
|
||||
|
||||
# 发送视频
|
||||
|
||||
Reference in New Issue
Block a user