MiraiForum

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

    Dark_Ghast

    @Dark_Ghast

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

    Dark_Ghast Unfollow Follow

    Latest posts made by Dark_Ghast

    • Mirai-console插件要怎么实现仅靠一张图片实现指令?

      群员发送一张特定图片(例如“色图来.jpg”),插件根据这张图片作出反应,要如何进行实现?
      mirai-console-example-plugin(https://github.com/Him188/mirai-console-example-plugin/blob/master/src/main/kotlin/org/example/my/plugin/MyPluginMain.kt )中的CommandSender.test需要发送“/指令名 参数 [图片]”才能进行反应,如何通过只发送“[图片]”就进行反应?
      希望能给我参考下代码

      posted in 开发交流
      D
      Dark_Ghast