测试入库
This commit is contained in:
5
robot.py
5
robot.py
@@ -44,7 +44,6 @@ from db.connection import DBConnectionManager
|
||||
from message_util import MessageUtil
|
||||
|
||||
|
||||
|
||||
class Robot(Job):
|
||||
"""个性化自己的机器人
|
||||
"""
|
||||
@@ -296,6 +295,10 @@ class Robot(Job):
|
||||
self.LOG.info("已更新")
|
||||
if msg.content == "今日百度新闻":
|
||||
self.news_baidu_report()
|
||||
if msg.content == "TO_DB":
|
||||
self.message_count_to_db()
|
||||
if msg.content == "RANK":
|
||||
self.generate_and_send_ranking()
|
||||
if msg.content.startswith("清除群-"):
|
||||
self.gbm.handle_command(msg.roomid, msg.content)
|
||||
self.send_text_msg(f"指令:{msg.content} 已执行", msg.sender)
|
||||
|
||||
Reference in New Issue
Block a user