MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. MrXiaoM
    3. Posts
    • Profile
    • Following 9
    • Followers 39
    • Topics 37
    • Posts 881
    • Best 215
    • Controversial 0
    • Groups 5

    Posts made by MrXiaoM

    • RE: WifeYouWant —— 每天随机把群友当老婆

      @小凌乱啊 没有

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: WifeYouWant —— 每天随机把群友当老婆

      @小凌乱啊 没问题啊,你都知道数据是所有群共享的了

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: WifeYouWant —— 每天随机把群友当老婆

      @小凌乱啊 是的,所以才会分「老婆列表」和「群老婆列表」两个命令

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      c289462177ea18f.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: Mirai core API 我想主动发起事件请求

      意思是你想主动发出一个群消息事件?

      Events -> 广播自定义事件

      其中的 ExampleEvent 换成 net.mamoe.mirai.event.events.GroupMessageEvent,你能收集到足够的信息把它实例化就可以了

      posted in 技术交流板块
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      -4f9b18dfc70deb71.jpg
      算了一下,在 [0, 32767] 区间任取一个数,它是 6 的倍数的概率,四舍五入 17% (1/6)。
      俄罗斯轮盘是吧(

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: Mirai Economy Core 经济服务前置插件,支持多货币和事件系统

      @Moyuyanli
      首先在插件主类的插件信息那里加上

      dependsOn("xyz.cssxsh.mirai.plugin.mirai-economy-core", true)
      

      如果你是用 plugin.yml 来储存插件信息的,那就

      dependencies:
          - "xyz.cssxsh.mirai.plugin.mirai-economy-core?"
      

      然后写个像这样的工具类来处理有经济插件和无经济插件的情况就好。

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      -485dc9eba27caaad.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      -3e06db5aec791ea7.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      3a1f02ddaba441dc.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 发送消息时的长度限制怎么处理呢?

      @404-Error 我没at过100个人,我不知道。
      最好分开发

      posted in 开发交流
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      QQ图片20221105131348.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      -25afef360207a100.jpg
      《UByte.MAX_VALUE》

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      IMG_20221104_013023.jpg
      IMG_20221104_013006.jpg

      我宣布,XJ 与捕鼠贴结为夫妻(bushi

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      当代大学生精神状况
      1667483740450.jpeg 1667483566221.jpeg 1667483772721.jpeg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      7960541216b79bfd.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: 【每日沙雕图】沙雕小别墅

      6133dbd843c9d0a9.jpg

      posted in 摸鱼区
      MrXiaoM
      MrXiaoM
    • RE: WifeYouWant —— 每天随机把群友当老婆

      @miler 可以,删掉换老婆关键词就行了,就像这样

      keywords-change-wife: []
      
      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: WifeYouWant —— 每天随机把群友当老婆

      @firefairy 抽老婆是缓存一天的,在今天之内发抽老婆始终显示今天抽到的。换老婆命令不会这样

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • RE: WifeYouWant —— 每天随机把群友当老婆

      @firefairy 我判定写反了,现在 checkSelf 为 false 的时候不会抽到命令发送者自己。

      在找不到匹配结果的时候始终会抽到机器人

      posted in 插件发布
      MrXiaoM
      MrXiaoM
    • 1
    • 2
    • 32
    • 33
    • 34
    • 35
    • 36
    • 44
    • 45
    • 34 / 45