MiraiForum

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

    求助,怎么自查插件的namespace

    使用交流
    2
    4
    255
    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.
    • H
      himetuki last edited by

      不知道插件的namespace就没法赋权啊,想问下自己怎么从代码里头查namespace

      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        你举一个具体的插件例子比较好
        不然很多概念还得单独解释

        H 1 Reply Last reply Reply Quote 0
        • H
          himetuki @cssxsh last edited by

          @cssxsh 比如Mirai New Bing插件的

          1 Reply Last reply Reply Quote 0
          • cssxsh
            cssxsh last edited by

            https://github.com/cssxsh/mirai-new-bing/blob/01ffbeb617e06cd3b2c36369bef3e7e62abda7db/src/main/kotlin/xyz/cssxsh/mirai/bing/MiraiNewBing.kt#L12

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