This repository has been archived by the owner on Nov 2, 2023. It is now read-only.
Replies: 6 comments 8 replies
-
应该是函数没有用async修饰的原因(但是错误提示有点怪 |
Beta Was this translation helpful? Give feedback.
0 replies
-
那么请问有什么解决办法呢
|
Beta Was this translation helpful? Give feedback.
0 replies
-
应该出这个错误提示才对: |
Beta Was this translation helpful? Give feedback.
5 replies
-
刚刚尝试换了另一个写法于是就好了... bot.getCookies(url).then(function(value) {
let cookie = value.data.cookies;
console.log(cookie);
bot.sendGroupMsg(fromGroup, cookie);
}); bot.getCsrfToken().then(function(value) {
let token = value.data.token;
console.log(token);
bot.sendGroupMsg(fromGroup, token);
}); |
Beta Was this translation helpful? Give feedback.
2 replies
-
近期会发布新版本,以后可以这样获取token和cookies client.bkn
client.cookies[domain] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
据说是因为符号的问题,但是我也没有用奇奇怪怪的编码保存文件来着...
也查不到其他解决方法,于是只好发在这里了
Beta Was this translation helpful? Give feedback.
All reactions