Currently the bot is started and initialized in the main method.
This does not allow anyone to start a place from any other place. Therefore the startup of the bot to a method that takes the requiered tokens and settings as values so that only the initializen of the starting parameters is in the main class.
Currently the bot is started and initialized in the main method.
This does not allow anyone to start a place from any other place. Therefore the startup of the bot to a method that takes the requiered tokens and settings as values so that only the initializen of the starting parameters is in the main class.