Class BotPreSendMessageEvent

    • Constructor Detail

      • BotPreSendMessageEvent

        public BotPreSendMessageEvent​(Bot b,
                                      Message message,
                                      Contact target,
                                      net.mamoe.mirai.event.events.MessagePreSendEvent event)
        Constructs a BotPreSendMessageEvent
        Parameters:
        b - the bot
        message - the message
        target - the target contact
        event - the raw event
    • Method Detail

      • getMessage

        public Message getMessage()
      • setMessage

        public void setMessage​(Message message)
      • getTarget

        public Contact getTarget()