A QQBot Based on xhan's work.