i can't import zxlolbot.py have problem...
No handlers could be found for logger "zxlolbot"
This sounds like you didn't set up the logging
module properly.
It means zxlolbot
uses logging
module without configuring it properly. You should see:
logger = logging.getLogger(__name__)
in zxlolbot.py
. Add this line after it:
logger.addHandler(logging.NullHandler())
To save logging messages to a file, you could add in bot.py
:
if __name__=="__main__":
import logging
logging.basicConfig(filename='bot.log', level=logging.INFO)