输出@内容
This commit is contained in:
@@ -15,4 +15,4 @@ rob-min-percent = 0.1 # 打劫成功时最小获取目标积分百分比
|
||||
rob-max-percent = 0.3 # 打劫成功时最大获取目标积分百分比
|
||||
rob-penalty-percent = 0.2 # 打劫失败时的惩罚百分比(扣除自身积分的比例)
|
||||
rob-cooldown = 1800 # 打劫冷却时间(秒),默认1小时
|
||||
rob-min-points = 50 # 打劫最低积分要求(打劫者和目标都需满足)
|
||||
rob-min-points = 30 # 打劫最低积分要求(打劫者和目标都需满足)
|
||||
@@ -350,7 +350,7 @@ class PointTradePlugin(MessagePluginInterface):
|
||||
atuserlist_content_no_commas = atuserlist_content.strip(',')
|
||||
atuserlist_content_no_commas = re.sub(r'\s+', '', atuserlist_content_no_commas)
|
||||
atuserlist_set = set(atuserlist_content_no_commas.split(','))
|
||||
self.LOG.debug(f"解析到的 @用户列表: {atuserlist_set}")
|
||||
self.LOG.info(f"解析到的 @用户列表: {atuserlist_set}")
|
||||
return atuserlist_set
|
||||
except ET.ParseError as e:
|
||||
self.LOG.error(f"解析 XML 失败: {e}")
|
||||
|
||||
Reference in New Issue
Block a user