From 29c8fc7e5115875eae7efb98b88d77a6d81c3656 Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Fri, 3 May 2019 19:52:04 +0100
Subject: [PATCH] s/getbotlink/addbot/

---
 README.md    | 2 +-
 package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 5e69fa7..c83620a 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ should show up in the network list on Riot and other clients.
 
 * Create a new application via https://discordapp.com/developers/applications
 * Make sure to create a bot user. Fill in ``config.yaml``
-* Run ``npm run getbotlink`` to get a authorisation link.
+* Run ``npm run addbot`` to get a authorisation link.
 * Give this link to owners of the guilds you plan to bridge.
 * Finally, you can join a room with ``#_discord_guildid_channelid``
   * These can be taken from the url ("/$GUILDID/$CHANNELID") when you are in a channel.
diff --git a/package.json b/package.json
index 866d79c..1f2129c 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
     "coverage": "istanbul --include-all-sources cover -x build/src/discordas.js _mocha -- build/test/ -R spec",
     "build": "tsc",
     "start": "npm run-script build && node ./build/src/discordas.js -p 9005 -c config.yaml",
-    "getbotlink": "node ./build/tools/addbot.js",
+    "addbot": "node ./build/tools/addbot.js",
     "adminme": "node ./build/tools/adminme.js",
     "usertool": "node ./build/tools/userClientTools.js",
     "directoryfix": "node ./build/tools/addRoomsToDirectory.js",
-- 
GitLab