The current system of spawning the BotListener through a thread that calls its constructor with an infinite loop in it isn't the best design. It should probably just be a singleton with a start and stop function for the network system to call. Same with how the network system is spawned to begin with.
The current system of spawning the BotListener through a thread that calls its constructor with an infinite loop in it isn't the best design. It should probably just be a singleton with a start and stop function for the network system to call. Same with how the network system is spawned to begin with.