需求:1.加入了用户积分表;2.加入了指令积分扣除功能;3.加入了积分获得与扣除注解。

This commit is contained in:
liuwei
2025-04-09 12:09:49 +08:00
parent dba9c31504
commit 358a9e921a
3 changed files with 1 additions and 11 deletions

View File

@@ -44,9 +44,6 @@ def main(chat_type: int):
# sehuatang
robot.onEveryTime("15:30", robot.generate_sehuatang_pdf)
# 游戏的定时任务每小时执行
robot.onEveryTime("17:58", robot.game_auto_tasks)
# 秀人网每天自动下载帖子
robot.onEveryTime("01:30", robot.xiu_ren_download_task)

View File

@@ -1,3 +1,4 @@
[GameTask]
enable = true
command = ["game", "任务", "/t", "/a", "/s"]
command-format = """

View File

@@ -74,14 +74,6 @@ class GameTaskPlugin(MessagePluginInterface):
self.db_manager = DBConnectionManager.get_instance()
self.encyclopedia_db = EncyclopediaDB(self.db_manager)
# 注册定时任务
if self.event_system:
self.event_system.add_interval_job(
self.run_random_task_assignment,
hours=1,
id="game_task_random_assignment"
)
self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
return True