MiraiForum

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

    xypleiades

    @xypleiades

    1
    Reputation
    4
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    xypleiades Unfollow Follow

    Best posts made by xypleiades

    • RE: 如何获取GroupMessageEvent中发送消息群成员的QQ号

      GroupMessageEvent event 的话就用event.getSender().getId();来获取

      posted in 开发交流
      X
      xypleiades

    Latest posts made by xypleiades

    • RE: 请问mirai有机器人给好友主页点赞的功能吗

      @orisland 好的,谢谢啦,之前没仔细看

      posted in 开发交流
      X
      xypleiades
    • 请问mirai有机器人给好友主页点赞的功能吗

      到目前为止好像还没有在官方文档中看到过类似的描述,但是听说有其他的机器人有这种方面的功能,就想问下是否存在这种功能,感谢各位大佬!

      posted in 开发交流
      X
      xypleiades
    • RE: java版command相关问题

      我Java好像没用到command

      posted in 开发交流
      X
      xypleiades
    • RE: 怎么让机器人进行群管理

      找到解决方法了,获取member对象后用setNameCard来设置群名片,setSpecialTittle来设置群头衔

      posted in 开发交流
      X
      xypleiades
    • RE: 如何发送本地图片

      @shaolongfei 你把图片放到消息链里面试试呢?保证图片路径正常的情况下应该是可以发出去的
      Message message = MessageUtils.newChain();
      message=message.plus(image);
      mMaster.sendMessage(message);

      posted in 开发交流
      X
      xypleiades
    • RE: 如何获取GroupMessageEvent中发送消息群成员的QQ号

      GroupMessageEvent event 的话就用event.getSender().getId();来获取

      posted in 开发交流
      X
      xypleiades
    • RE: 怎么让机器人进行群管理

      @nambers 好的,谢谢大佬,回头我试一下

      posted in 开发交流
      X
      xypleiades
    • RE: 怎么让机器人进行群管理

      @yoonching 动机这个倒是没问题啦,通过关键词触发也行,主要是机器人进行主动的动作我只会照着用别人写过的sendMessage,其他的主动功能就不太清楚该怎么使用

      posted in 开发交流
      X
      xypleiades
    • 怎么让机器人进行群管理

      其实最主要问的是如何修改群成员的昵称或头衔,我看好多文档好像都是监听事件而不是主动去触发的,希望大佬提供答案

      posted in 开发交流
      X
      xypleiades