调整异常扣分记录,如果是异常的数据,则不扣分
This commit is contained in:
@@ -170,12 +170,12 @@ class GroupAutoInvitePlugin(MessagePluginInterface):
|
||||
return True, "邀请发送成功"
|
||||
else:
|
||||
wcf.send_text(f"❌ 邀请发送失败,请稍后再试", sender)
|
||||
return True, "邀请发送失败"
|
||||
return False, "邀请发送失败"
|
||||
|
||||
except Exception as e:
|
||||
self.LOG.error(f"处理加群请求出错: {e}")
|
||||
wcf.send_text(f"❌ 处理加群请求出错: {e}", sender)
|
||||
return True, f"处理出错: {e}"
|
||||
return False, f"处理出错: {e}"
|
||||
|
||||
def add_mapping(self, key, group_id):
|
||||
"""添加群组ID到指定key"""
|
||||
|
||||
Reference in New Issue
Block a user