From eb0291b3a82c02edf24c69a5827ad193cde2f442 Mon Sep 17 00:00:00 2001 From: CBenni Date: Thu, 7 Dec 2017 03:35:23 +0100 Subject: [PATCH 1/2] Create README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7f0c901 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# beebot +BBona + +## Installation +On Linux - run `npm i` + +On Windows - ask nuuls (xd). +Or install node-canvas yourself, see https://github.com/Automattic/node-canvas/wiki/Installation---Windows, then run `npm i` From 8b8b3cd71000913d14579ed8303601f8e8eda863 Mon Sep 17 00:00:00 2001 From: CBenni Date: Thu, 7 Dec 2017 03:42:22 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7f0c901..41dc111 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,10 @@ On Linux - run `npm i` On Windows - ask nuuls (xd). Or install node-canvas yourself, see https://github.com/Automattic/node-canvas/wiki/Installation---Windows, then run `npm i` + + +Then copy the `config.default.json` file to `config.json`, enter your credentials and run it with `node index.js` + +## Usage +Add the bot to your discord server with the correct privileges and then run `/bee :emote:` +The bot spawns an HTTP server on port 3002 on localhost, so you can use that - `http://host/bee?url=`