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.
Find a file
dependabot[bot] 63796d4abb
Bump eslint from 4.14.0 to 4.18.2
Bumps [eslint](https://github.com/eslint/eslint) from 4.14.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v4.14.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-18 12:11:15 +00:00
resources Added /police 2019-05-04 20:15:23 +02: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 Added /ban 2018-01-07 22:58:48 +01:00
config.default.json Added /police 2019-05-04 20:15:23 +02:00
Dockerfile removed double 2017-12-15 14:28:22 +01:00
filters.js Fixed \pride 2018-02-26 13:23:54 +01:00
imageex.js Fixed \pride 2018-02-26 13:23:54 +01:00
index.js Added /chef 2019-01-25 18:16:08 +01:00
package-lock.json Bump eslint from 4.14.0 to 4.18.2 2019-12-18 12:11:15 +00:00
package.json Bump eslint from 4.14.0 to 4.18.2 2019-12-18 12:11:15 +00:00
README.md Added readme 2017-12-15 14:26:44 +01:00
twemoji.js Initial commit 2017-12-07 03:30:56 +01:00
yarn.lock Bump eslint from 4.14.0 to 4.18.2 2019-12-18 12:11:15 +00:00

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: The bot spawns an HTTP server on port 3002 on localhost, so you can use that - http://host/bee?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