master: basic bot plumbing.