https://github.com/keybase/debatebot
a bot that hooks people up for interesting discussions
https://github.com/keybase/debatebot
Last synced: 2 months ago
JSON representation
a bot that hooks people up for interesting discussions
- Host: GitHub
- URL: https://github.com/keybase/debatebot
- Owner: keybase
- Created: 2020-02-11T15:49:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T19:09:38.000Z (about 5 years ago)
- Last Synced: 2025-01-02T01:25:51.687Z (4 months ago)
- Language: TypeScript
- Size: 337 KB
- Stars: 2
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# debatebot
[@debatebot](https://keybase.io/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.
### To run it, or your edits of it:
1. Clone this repo to your own computer.
2. Run `yarn` (what I use) or `npm install` (more common) to install requirements
3. copy `src/secrets.example.ts` to `src/secrets.ts` and put a real username and paperkey in there.
4. run `yarn go` or `npm run go` to start it up.That should be it. You can then send your bot a message
### Getting started on changing it
take a look at `src/main.ts`. You can strip that down to the most basic bot if you like.