Replies: 6 comments 8 replies
-
|
最好贴完整点 |
Beta Was this translation helpful? Give feedback.
-
|
应该是函数没有用async修饰的原因(但是错误提示有点怪 |
Beta Was this translation helpful? Give feedback.
-
|
那么请问有什么解决办法呢
|
Beta Was this translation helpful? Give feedback.
-
|
应该出这个错误提示才对: |
Beta Was this translation helpful? Give feedback.
-
|
刚刚尝试换了另一个写法于是就好了... 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.
-
|
近期会发布新版本,以后可以这样获取token和cookies client.bkn
client.cookies[domain] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
据说是因为符号的问题,但是我也没有用奇奇怪怪的编码保存文件来着...
也查不到其他解决方法,于是只好发在这里了
Beta Was this translation helpful? Give feedback.
All reactions