add bot mechanism for #139.