Added support for the bot to log from main chat