BBona
This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Manuel ce564e2ad9
Set activity and set default host
2021-05-10 14:16:10 +02:00
resources Update gitignore 2021-02-07 22:37:49 +11:00
.editorconfig Merged test stuff into beebot 2017-12-31 01:54:52 +01:00
.eslintrc.json Added some logging for failed message sends 2018-02-11 00:30:40 +01:00
.gitignore Revert package-lock being ignored 2021-05-10 14:14:52 +02:00
Dockerfile removed double 2017-12-15 14:28:22 +01:00
README.md Update readme 2021-02-02 14:15:41 +11:00
config.default.json Set activity and set default host 2021-05-10 14:16:10 +02:00
filters.js Set log level with env variable and add more 2021-05-05 08:28:41 +02:00
imageex.js Set log level with env variable and add more 2021-05-05 08:28:41 +02:00
index.js Set activity and set default host 2021-05-10 14:16:10 +02:00
package.json Add loglevel, public setting and config env 2021-05-05 08:13:50 +02:00
twemoji.js Initial commit 2017-12-07 03:30:56 +01:00
yarn.lock Update yarn.lock 2021-05-05 08:36:19 +02:00

README.md

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

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: or /bee @user The bot spawns an HTTP server on port 3002 on localhost, so you can use that - http://host/bee?url=<url> or http://host/bee?reverse=true&url=<url>

Docker

Build the container

You can build the container with the following command npm run docker

Run the image

Running your image with -d runs the container in detached mode, leaving the container running in the background. The -p flag redirects a public port to a private port inside the container. Run the image you previously built:

$ docker run -p 3002:3002 -d beebot:latest