Added logging of the bot's own output to channels.