群员发送一张特定图片(例如“色图来.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需要发送“/指令名 参数 [图片]”才能进行反应,如何通过只发送“[图片]”就进行反应?
希望能给我参考下代码