UnsignedArduino / bookbot

Verified Discord bot which uses the Google Books API to show info about books. Used for PRs only!

Home Page:https://rv178.github.io/bookbot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BookBot

Verified Discord bot which uses the Google Books API to show info about books.

Commands

Available commands are listed at https://rv178.github.io/bookbot/.

Support

Installation

Dependencies

Install these by visiting their websites and running their platform-specific installers.

  • NodeJS (v16.9.0 or higher)
  • MongoDB
  • Docker Compose*

An asterik (*) indicates optional dependencies.

Install JavaScript dependencies with npm install.

Discord bot

Required scopes:

  • bot
  • applications.commands

Required bot permissions:

  • Text permissions:
    • Send messages
    • Embed Links
    • Attach Files
    • Read Message History
    • Use External Emoji
    • Add Reactions

Environment variables

An example configuration file can be found in the sample.env file. Copy and rename this file to .env and put your bot tokens, etc. inside.

Running

Development

Uses nodemon instead to reload the app when changes are detected!

npm test

Production

npm start

or

node .

or (obviously needs the optional dependency Docker Compose)

docker-compose up

About

Verified Discord bot which uses the Google Books API to show info about books. Used for PRs only!

https://rv178.github.io/bookbot/

License:MIT License


Languages

Language:JavaScript 97.2%Language:Shell 2.0%Language:Dockerfile 0.8%