Setup the logger in the main function instead of the bot's init.
Make chunk_text a utility and remove all messages sending from it.