Moved apbot replies to database