-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
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
[BUG]获取群荣誉信息API超时 #80
Labels
question
Further information is requested
Comments
请问是否有 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
调用get_group_honor_info方法试图获取当前龙王,等待很久然后报错API超时
复现
`
@sv.on_fullmatch('谁是龙王')
async def who_is_longwang(bot, ev):
gid = ev.group_id
data = await bot.get_group_honor_info(group_id=gid, type='talkative')
talkative = data.current_talkative
sv.logger.info(f'[longwang INFO]:{talkative}')
at = MessageSegment.at(talkative.user_id)
msg = f'{at}是龙王,持续天数{talkative.day_count}天'
await bot.send(ev, msg)`
1.使用以上代码试图获取群荣誉信息
2.等待1分钟后控制台报错WebSocket API call timeout
版本
cqhttp-mirai-
0.2.3-embedded-all.jar
mirai-core-
mirai-console-
The text was updated successfully, but these errors were encountered: