Class ChatListener

    • Constructor Detail

      • ChatListener

        public ChatListener()
    • Method Detail

      • registerInputListener

        public static void registerInputListener​(IOHandler ioHandler,
                                                 CommandSender commandSender,
                                                 boolean flag)
        Register input String listener. (Used to communicate with CommandSender with ioHandler)
        Parameters:
        ioHandler - the receiver
        commandSender - the commandSender
        flag - true if you want to get the string value of this message, false if you want to get MiraiCode of this message