Closed winetern closed 1 year ago
class cqHttpApi(asyncHttp):
def __init__(self, host: str="http://127.0.0.1:8000", download_path: str="./download", chunk_size: int=1024) -> None: super().__init__(download_path, chunk_size) self.http = host self.__reply_list_msg: dict[int, Optional[Message]] = {} self.thread_count = 4 self.bot_qq = 0
这个方法默认那个参数的默认端口为8000,但如上述情况下,报错:cannot connect host 127.0.0.1:8000,远程计算机拒绝网络连接
与 go-cqhttp 正向 http 地址不一致
class cqHttpApi(asyncHttp):
这个方法默认那个参数的默认端口为8000,但如上述情况下,报错:cannot connect host 127.0.0.1:8000,远程计算机拒绝网络连接