Class GroupChatEvent

    • Constructor Detail

      • GroupChatEvent

        public GroupChatEvent​(Bot bot,
                              Member member,
                              Message message,
                              MessageSource source)
        Constructs a GroupChatEvent
        Parameters:
        bot - the bot
        member - the one who chats in the group the bot is in
        message - the chat message
        source - the source of the message
    • Method Detail

      • getMember

        public Member getMember()
      • getGroup

        public Group getGroup()
        Get the Group Mirai instance of the member
        Returns:
        the Group Mirai instance of the member