We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
收到好友申请事件时,如果当时选择不处理,后续再也无法通过api来同意这个申请了。
我不想做成自动同意申请,是因为短时间内加好友太多容易被风控,所以想自己设计算法来控制添加频率。
oicq 是有这个功能的,希望移植过来。
The text was updated successfully, but these errors were encountered:
def allow( self, event: RequestEvent, message: str = '' ): """允许申请。
Args: event: 申请事件。 message: 回复的信息。 """ asyncio.run(self.bot.allow(event, message)) event事件类型为好友申请请求即可(NewFriendRequestEvent)。至于好友申请列表,找个变量记录呗,反正这玩意又不关机。监听器监听到的时候存进去,allow响应的时候删除。同样还有拒绝和拉黑,去找对应的就好
Sorry, something went wrong.
找个时间做一下这个
Successfully merging a pull request may close this issue.
收到好友申请事件时,如果当时选择不处理,后续再也无法通过api来同意这个申请了。
我不想做成自动同意申请,是因为短时间内加好友太多容易被风控,所以想自己设计算法来控制添加频率。
oicq 是有这个功能的,希望移植过来。
The text was updated successfully, but these errors were encountered: