MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    ChatLearning——让bot学会你的群聊

    插件发布
    147
    818
    260331
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PandaLink last edited by

      关于之前的fastdelete已经解决了,可能是我这边Python环境的问题,现在能用 虽然在控制台输入fastdelete还是会报错。
      问下能否单独设置一个词库管理员的权限。
      然后昨天又出现词库直接变0kb的情况了2022-06-10 18:49:52
      Traceback (most recent call last):
      File "ChatClass.py", line 308, in run
      File "ChatMerge.py", line 99, in main
      File "ChatMerge.py", line 77, in getfile
      File "ChatMerge.py", line 24, in Merge
      EOFError: Ran out of input
      似乎和强制断开软件有关,而且很奇怪只有一个群变0kb其他正常。我这边是服务器弹了个更新直接重启了导致的。我现在已经做了每天自动定期备份了😂

      Koreyoshi 1 Reply Last reply Reply Quote 0
      • halfhours
        halfhours last edited by

        @Koreyoshi 大佬能帮忙看下这配置有啥问题吗,我研究了半天都没法执行脚本。我python的路径和环境变量应该都是没问题的吧?
        93d13845-2083-4776-ba71-51626bc5f5d8-image.png
        搞了半天实在没辙了。

        Koreyoshi 1 Reply Last reply Reply Quote 0
        • Koreyoshi
          Koreyoshi @PandaLink last edited by

          @PandaLink 嗯,对强行关闭软件的数据保护没有做好,关闭软件时同时关掉记录和回复才能保证不出错
          关于一个词库的管理员,你可以使用subadmin,这是给予某个群的管理员和群主对应群词库的管理权限

          1 Reply Last reply Reply Quote 0
          • Koreyoshi
            Koreyoshi @halfhours last edited by

            @halfhours 用python启动需要在目录下输入python Chatmain.py或者python3 Chatmain.py(有多个版本python的情况下)

            1 Reply Last reply Reply Quote 0
            • L
              LiplusCu last edited by

              请问这个机器人是不能同时设置多个管理员吗?如果需要多人使用!d指令该如何操作呢?

              F Koreyoshi 2 Replies Last reply Reply Quote 0
              • L
                LiplusCu last edited by

                进入管理模式查看词库会出现网络连接出错的提示是为何,该如何解决呢?

                F 1 Reply Last reply Reply Quote 0
                • L
                  LiplusCu last edited by

                  所以说程序运行中所有机器人学习到的条目均会上传到云端吗?

                  Koreyoshi 1 Reply Last reply Reply Quote 0
                  • F
                    firefairy last edited by

                    @Koreyoshi 没管过了一会自己就好了 = =

                    1 Reply Last reply Reply Quote 0
                    • F
                      firefairy @LiplusCu last edited by

                      @LiplusCu 可以同时设置多个 用setadmin qq1 qq2空格隔开就行

                      1 Reply Last reply Reply Quote 0
                      • F
                        firefairy @LiplusCu last edited by

                        @LiplusCu 我也遇到过这个问题 ,放一阵子就会好,如果需要删除可以尝试使用!delete

                        1 Reply Last reply Reply Quote 0
                        • Koreyoshi
                          Koreyoshi @LiplusCu last edited by

                          @LiplusCu 可以用fastdelete更改!d指令的权限

                          1 Reply Last reply Reply Quote 0
                          • Koreyoshi
                            Koreyoshi @LiplusCu last edited by

                            @LiplusCu 上传至腾讯云cos内,1天后自动删除,请放心没有做任何备份

                            1 Reply Last reply Reply Quote 0
                            • M
                              MCAstro414 last edited by

                              正常运行一段时间后就报错了,回复和admin都能用,但不能记录问题以及执行自动任务,请问如何解决?

                              2022-06-15 22:05:49
                              Traceback (most recent call last):
                              File "ChatClass.py", line 308, in run
                              File "Chatmain.py", line 169, in RunAutoTask
                              PermissionError: [Errno 13] Permission denied: 'AutoTask/AutoTask.clc'

                              2022-06-15 22:08:02
                              Traceback (most recent call last):
                              File "ChatClass.py", line 308, in run
                              File "ChatLearning.py", line 202, in main
                              File "ChatLearning.py", line 190, in listening
                              File "ChatLearning.py", line 71, in creatanswer
                              PermissionError: [Errno 13] Permission denied: 'WordStock/<群号>.cl'

                              Koreyoshi 1 Reply Last reply Reply Quote 0
                              • Koreyoshi
                                Koreyoshi @MCAstro414 last edited by

                                @MCAstro414 尝试用管理员权限启动程序

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MCAstro414 @Koreyoshi last edited by

                                  @Koreyoshi 尝试过了,无法解决

                                  Koreyoshi 1 Reply Last reply Reply Quote 0
                                  • Koreyoshi
                                    Koreyoshi @MCAstro414 last edited by

                                    @MCAstro414 还是同种报错么?这个错误就是权限不够无法打开文件

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MCAstro414 @Koreyoshi last edited by

                                      @Koreyoshi 是的

                                      Koreyoshi 1 Reply Last reply Reply Quote 0
                                      • Koreyoshi
                                        Koreyoshi @MCAstro414 last edited by

                                        @MCAstro414 是通过哪种方式运行的呢?

                                        M 1 Reply Last reply Reply Quote 0
                                        • 罪
                                          罪与罚啊 last edited by

                                          请问这是什么情况啊,这个session不是不用管吗0f178661-81aa-4c20-85a5-2b6f6e69ea76-image.png

                                          Koreyoshi 1 Reply Last reply Reply Quote 0
                                          • Koreyoshi
                                            Koreyoshi @罪与罚啊 last edited by

                                            @罪与罚啊 检查api-http插件是否正确启动,可查看mcl控制台的输出,是否有报错之类的

                                            罪 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 40
                                            • 41
                                            • 25 / 41
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact