MiraiForum

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

    Mirai可不可以自定义命令?

    使用交流
    命令 自定义 特殊命令
    2
    4
    145
    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.
    • S
      Sakaino last edited by

      产生这个想法其实是因为,群成员不知道怎么用,自带的/help比较杂乱(特别是我装了不少插件)。于是就想,能不能通过自定义命令,给群成员出示定制过的help命令?另外,一些bot自己的功能也可以通过自定义命令执行
      比如/u help 出示用户帮助
      /u l 签到

      1 Reply Last reply Reply Quote 0
      • S
        Sakaino last edited by

        特别是装的插件命令有/开头的有#开头的有直接汉字的,记忆不方便,有些自带的/help也不出示

        1 Reply Last reply Reply Quote 0
        • Nambers
          Nambers 摸鱼 last edited by

          可以 去看命令系统, 比如这个https://docs.mirai.mamoe.net/console/Commands.html

          S 1 Reply Last reply Reply Quote 1
          • S
            Sakaino @Nambers last edited by

            @Nambers 谢谢。目前还有一个想法是利用自定义回复插件实现伪自定义指令

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact