去除网易云音乐那个名称
This commit is contained in:
5
robot.py
5
robot.py
@@ -98,7 +98,7 @@ class Robot(Job):
|
||||
# 美腿模块
|
||||
self.beautyleg = BeautyLeg(wcf, self.gbm)
|
||||
# 加群测试
|
||||
self.group_add = GroupAdd(wcf, self.gbm, self.allContacts)
|
||||
self.group_add = GroupAdd(wcf, self.gbm)
|
||||
|
||||
if ChatType.is_in_chat_types(chat_type):
|
||||
if chat_type == ChatType.TIGER_BOT.value and TigerBot.value_check(self.config.TIGERBOT):
|
||||
@@ -275,8 +275,6 @@ class Robot(Job):
|
||||
receivers = msg.roomid
|
||||
self.sendTextMsg(content, receivers, msg.sender)
|
||||
"""
|
||||
# 风控处理,随机延迟发送,解决群消息高频发送导致的微信风险
|
||||
time.sleep(random.uniform(0.3, 2.0))
|
||||
|
||||
# 群聊消息
|
||||
if msg.from_group():
|
||||
@@ -323,7 +321,6 @@ class Robot(Job):
|
||||
except Exception as e:
|
||||
self.LOG.error(f"game_message_load error:{e}")
|
||||
try:
|
||||
# TODO 群人员添加也是消息类型10000的消息
|
||||
if msg.type == 10000:
|
||||
self.LOG.info(msg)
|
||||
self.group_add.handle_message(msg)
|
||||
|
||||
Reference in New Issue
Block a user