加入插件:黑丝视频,美腿

This commit is contained in:
liuwei
2025-03-19 15:43:17 +08:00
parent 8665b418ba
commit 3bfa1f6c98
7 changed files with 342 additions and 18 deletions
-18
View File
@@ -20,7 +20,6 @@ from base.func_news import News
from base.func_tigerbot import TigerBot
from base.func_xinghuo_web import XinghuoWeb
from base.func_claude import Claude
from beautyleg.beauty_leg import BeautyLeg
from configuration import Config
from constants import ChatType
from dify.dify_chat import DifyChat
@@ -29,7 +28,6 @@ from game_task.game_task_encyclopedia import game_process_message, get_group_ids
from group_add.main import GroupAdd
from group_auto.group_auto_invite import get_first_group_id, process_command
from group_auto.group_member_change import GroupMemberChange
from group_video.bot_video import BotVideo
from group_video_man.bot_video_man import BotVideoMan
from message_sign.main import SignInSystem
from message_storage.message_to_db import MessageStorage
@@ -125,12 +123,8 @@ class Robot(Job):
self.signin = SignInSystem(wcf, self.gbm, self.allContacts, self.db_pool, self.redis_pool, self.message_util)
# 积分赠送功能加载
self.trade = PointTrade(wcf, self.gbm, self.db_pool)
# 获取视频模块
self.video = BotVideo(wcf, self.gbm)
# 肌肉男视频
self.videoman = BotVideoMan(wcf, self.gbm)
# 美腿模块
self.beautyleg = BeautyLeg(wcf, self.gbm)
# 加群测试
self.group_add = GroupAdd(wcf, self.gbm)
# 抖音转视频
@@ -338,23 +332,11 @@ class Robot(Job):
self.trade.handle_text(message=msg)
except Exception as e:
self.LOG.error(f"point trade error: {e}")
# 加入黑丝视频功能
try:
self.video.get_video(message=msg)
except Exception as e:
self.LOG.error(f"video get_video error: {e}")
# 加入肌肉男视频功能
try:
self.videoman.get_video(message=msg)
except Exception as e:
self.LOG.error(f"videoman get_video error: {e}")
# 美腿功能
try:
self.beautyleg.handle_message(message=msg)
except Exception as e:
self.LOG.error(f"beautyleg.handle_text error: {e}")
# 抖音组件
try:
self.douyin.handle_douyin_links(message=msg)