682 B
682 B
ncatbot 开发踩的坑
由于一上来就采用了远程开发的模式,所以在bot连接的过程中,需要在 bot.run()
函数中另外传入参数
bot.run(
bt_uin = "bot account",
root = "bot's master account",
ws_uri = "ws://",
ws_token = "Your token",
webui_uri = "http://Your server:port",
webui_token = "Your token"
)