@debatebot on Keybase introduces strangers, for friendly discussions on controversial topics. This bot is written in TypeScript and serves as a basic example of bot-writing on Keybase.
It announces commands (!debate) in chat. For example:
And the bot replies:
If you'd like to write your own Keybase bot, debatebot is a good starting point. You can fork it.
- Clone this repo to your own computer.
- Run
yarn(what I use) ornpm install(more common) to install requirements - copy
src/secrets.example.tstosrc/secrets.tsand put a real username and paperkey in there. - run
yarn goornpm run goto start it up.
That should be it. You can then send your bot a message
take a look at src/main.ts. You can strip that down to the most basic bot if you like.

