类 MiraiBotMuteEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
me.dreamvoid.miraimc.bungee.event.group.MiraiBotMuteEvent

public class MiraiBotMuteEvent extends net.md_5.bungee.api.plugin.Event
(BungeeCord) 群 - 机器人被禁言
  • 构造器详细资料

    • MiraiBotMuteEvent

      public MiraiBotMuteEvent(net.mamoe.mirai.event.events.BotMuteEvent event)
  • 方法详细资料

    • getTime

      public int getTime()
      返回机器人被禁言的时间
      返回:
      时间(秒)
    • getOperatorID

      public long getOperatorID()
      返回执行禁言操作的管理员。
      返回:
      管理员QQ
    • getBotID

      public long getBotID()
      获取机器人账号
      返回:
      机器人账号
    • getGroupID

      public long getGroupID()
      返回加入群的群号
      返回:
      群号
    • toString

      public String toString()
      获取原始事件内容
      [!] 不推荐使用
      覆盖:
      toString 在类中 Object
      返回:
      原始事件内容
    • getGroup

      public MiraiGroup getGroup()
      获取群实例
      返回:
      MiraiGroup 实例