MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接
    1. 主页
    2. MR-MonkeyRay
    • 资料
    • 关注 0
    • 粉丝 0
    • 主题 0
    • 帖子 9
    • 最佳 0
    • 有争议的 0
    • 群组 0

    MR-MonkeyRay

    @MR-MonkeyRay

    0
    声望
    4
    资料浏览
    9
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    MR-MonkeyRay 取消关注 关注

    MR-MonkeyRay 发布的最新帖子

    • RE: 提供一个本地部署的解决方案

      NapCat + Overflow 也好用,还不需要GUI,省不少内存

      发布在 技术交流板块
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: 想收集一下现在大家对于mirai的使用情况

      还在使用mirai吗:是
      通过那种登录方式使用的mirai:2.Overflow
      mirai登录情况稳定吗:稳定
      mirai的相关功能使用方式:1.mirai插件
      使用mirai的相关平台:linux

      发布在 使用交流
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: DrawMeme - 基于Skiko的奇怪的图片生成器

      @YoinSama +1
      这样就变成了一个快速表情包生成器了,方便了许多

      发布在 插件发布
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: 小白求助:Mirai怎么实现发送URL下的图片?

      @greenhandzdl 可以试试读到inputStream之后那个上传图片,并获取上传好图片的id,然后发送(我直接粘我自己的代码吧...):

      // draw pic
      val img = DrawUtil.drawImg(candidates)
      val os = ByteArrayOutputStream()
      ImageIO.write(img, "png", os)
      
      // read pic
      val stream: InputStream = ByteArrayInputStream(os.toByteArray())
      stream.close()
      os.close()
      
      // send pic
      sendMessage(Image.fromId(stream.uploadAsImage(subject).imageId))
      
      发布在 开发交流
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: 请问一下,有没有好用的QQ群打卡插件啊

      https://mirai.mamoe.net/topic/1031/每日打卡-一款支持更多打卡类型的打卡应用

      发布在 使用交流
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: 绿屏以后启动报错

      https://mirai.mamoe.net/topic/1084/mcl-无法使用的相关解决方法-2022-3-25

      发布在 使用交流
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: HitHit锤人插件

      @tsudzuki 从release的jar包解包看了一下...确实..pat图片都没打进去...

      发布在 插件发布
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: HitHit锤人插件

      摸人的好像不行?
      Mirai版本: 2.10.1
      HitHit版本: 2.0.0
      试了At人,精确匹配,模糊匹配,都报错:

      2022-04-07 21:13:38 E/HitHit: Exception in coroutine Plugin org.iris.plugin.HitHit of HitHit
      java.lang.IllegalArgumentException: input == null!
              at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1356)
              at org.iris.plugin.model.HitHitTool.mkImg(HitHitTool.kt:49)
              at org.iris.plugin.model.HitHitTool.getAction(HitHitTool.kt:37)
              at org.iris.plugin.HitHit$onEnable$3.invokeSuspend(HitHit.kt:108)
              at org.iris.plugin.HitHit$onEnable$3.invoke(HitHit.kt)
              at org.iris.plugin.HitHit$onEnable$3.invoke(HitHit.kt)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
              at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
              at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
              at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
              at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
              at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
              at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
              at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
              at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
              at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:147)
              at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
              at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
              at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
              at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
      
      发布在 插件发布
      MR-MonkeyRay
      MR-MonkeyRay
    • RE: HitHit锤人插件

      好玩好玩!

      发布在 插件发布
      MR-MonkeyRay
      MR-MonkeyRay