Closed linux-rm closed 1 year ago
$ curl -X POST -H "Content-Type:application/json" -d ' { "sessionKey":"0", "target":711576275, "messageChain":[ { "type":"Plain", "text":"hello\n" }, { "type":"Plain", "text":"world" }, { "type":"Image", "url":"https://i0.hdslb.com/bfs/album/67fc4e6b417d9c68ef98ba71d5e79505bbad97a1.png" } ] } ' localhost:8080/sendGroupMessage {"code":0,"msg":"success","messageId":-1}
账号也没被风控啊,登录电脑都是正常的,就mirai出现问题
控制台:
./mcl # ...... 2023-06-10 23:06:17 I/Mirai HTTP API: ******************************************************** 2023-06-10 23:06:17 I/MahKtorAdapter[http,ws]: Autoreload is disabled because the development mode is off. 2023-06-10 23:06:18 I/MahKtorAdapter[http,ws]: Application started in 1.194 seconds. 2023-06-10 23:06:18 I/MahKtorAdapter[http,ws]: Responding at http://0.0.0.0:8080 2023-06-10 23:06:18 I/http adapter: >>> [http adapter] is listening at http://0.0.0.0:8080 2023-06-10 23:06:18 I/ws adapter: >>> [ws adapter] is listening at ws://0.0.0.0:8080 2023-06-10 23:06:18 I/Mirai HTTP API: Http api server is running out of verify mode 2023-06-10 23:06:18 I/Mirai HTTP API: adaptors: [http,ws] 2023-06-10 23:06:18 I/Mirai HTTP API: ******************************************************** # ...... 2023-06-10 23:06:21 I/Bot.3036403736: Loaded account secrets from local cache. 2023-06-10 23:06:22 I/Bot.3036403736: Saved account secrets to local cache for fast login. 2023-06-10 23:06:22 I/Bot.3036403736: Login successful. 2023-06-10 23:06:26 V/Bot.3036403736: Event: BotOnlineEvent(bot=Bot(3036403736)) 2023-06-10 23:06:26 I/Bot.3036403736: Bot login successful. 2023-06-10 23:06:26 V/Bot.3036403736: Event: net.mamoe.mirai.console.events.AutoLoginEvent$Success@f237ae7 # ...... 2023-06-10 23:08:25 V/Bot.3036403736: Group(711576275) <- hello\nworld[mirai:image:{2EA24EA4-27F6-01E0-1D81-D04D6E6C0C9E}.png, width=318, height=92, size=1996, type=PNG, isEmoji=false] 2023-06-10 23:08:25 W/QRLogin: 群消息发送失败,你的账号可能已被风控,详见本插件帖
已尝试删除bots/xx/cache,bots/xx/logs 并重新用插件扫码但情况依然
但可以/sendFriendMessage
/sendFriendMessage
就是风控
账号也没被风控啊,登录电脑都是正常的,就mirai出现问题
控制台:
已尝试删除bots/xx/cache,bots/xx/logs 并重新用插件扫码但情况依然
但可以
/sendFriendMessage