From 9200403c8c7294f311f7747a8a7a24ca47cbe86c Mon Sep 17 00:00:00 2001 From: Jonathan Allard Date: Mon, 4 May 2020 03:00:38 -0400 Subject: [PATCH 1/2] README.md: Add instructions to create bot account I spent quite some time looking everywhere on how to create a bot account. User plttn on the chat was kind enough to help me out. We might also want to copy that blurb onto the general docs or elsewhere. Hopefully this will help some people out. --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 46b9d48..02cb013 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,29 @@ Keybase bot-scripting for Node.js - now written all in TypeScript! Send encrypte You can use this module to script basic Keybase commands such as sending and reading messages and attachments, and managing teams. +- [Create bot account](#create-bot-account) - [Installation](#installation) - [Hello World](#hello-world) - [API](#api) - [Contributions](#contributions) +## Creating the bot account +If that's not already done, create an account for your new bot. + +First create a token: +```bash +$ keybase bot token create +NucJHeRHtzjCRPYprX7PFdRyebcf4Ug9 +``` + +Then, create your bot with the token and its username, returning its paper key: +```bash +$ keybase bot signup -u friendlybot -t NucJHeRHtzjCRPYprX7PFdRyebcf4Ug9 +spider engine secret duck will maybe read secret message ohno act normal screwdriver fridge banana banana +``` + +You're all set! For other account commands, run `keybase help bot`. + ## Installation 1. Install Node.js 12 or above. From 75f5017eb0ac59b7eb3d378d4549f7acea122f36 Mon Sep 17 00:00:00 2001 From: Jonathan Allard Date: Mon, 4 May 2020 03:01:39 -0400 Subject: [PATCH 2/2] !fixup last --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02cb013..f1983c7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Keybase bot-scripting for Node.js - now written all in TypeScript! Send encrypte You can use this module to script basic Keybase commands such as sending and reading messages and attachments, and managing teams. -- [Create bot account](#create-bot-account) +- [Creating the bot account](#creating-the-bot-account) - [Installation](#installation) - [Hello World](#hello-world) - [API](#api)