MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. GlanceLin
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    GlanceLin

    @GlanceLin

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    GlanceLin Unfollow Follow

    Latest posts made by GlanceLin

    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi Σ( ° △ °|||),我以为是像部署网页那样,把localhost映射到192.168.1.5上(感谢

      posted in 插件发布
      G
      GlanceLin
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi mirai/mirai-http-api就部署在192.168.1.5的主机上(监听192.168.1.5不就是监听localhost吗(我的理解是这样,我先去试试(

      posted in 插件发布
      G
      GlanceLin
    • RE: ChatLearning——让bot学会你的群聊

      @Koreyoshi mirai-api-http是在192.168.1.5(本机)

      posted in 插件发布
      G
      GlanceLin
    • RE: ChatLearning——让bot学会你的群聊

      Traceback (most recent call last):
      File "ChatClass.py", line 107, in run
      File "Chatmain.py", line 953, in getcommand_chat
      File "simuse.py", line 76, in Fetch_Message
      TypeError: 'int' object is not subscriptable
      mirai-http-api:

      adapters: 
        - http
      debug: false
      enableVerify: true
      verifyKey: 5236
      singleMode: false
      cacheSize: 4096
      adapterSettings:
        http:
          host: localhost
          port: 5236
          cors: [*]
      

      chatlearning json:

      {
       "Key": "5236",
       "host": "192.168.1.5",
       "port": "5236",
       "qq": "2914377162",
       "session": "XXX"
      }
      

      mirai与chatlearning项目处于同一网段(连接在同一路由下)。防火墙已关闭,其它服务均可互访。【当项目部署在同一主机上时正常】

      posted in 插件发布
      G
      GlanceLin