Skip to content

A multi-purpose, modular Discord bot written in Typescript

License

Notifications You must be signed in to change notification settings

bentodevs/bento

Repository files navigation

Bento Bot Logo
Bento Bot

Bento is a multifunctional, modular Discord Bot. Build, manage and engage your community, whatever the size

Running Bento

⚡ Quick Start for Development

First, download and install Node.JS & NPM. Version 16 or higher of Node.JS is required.

Next install the required packages, using the npm install command.

Copy the .env.example file to .env, and fill in the required values.

The API Token hosts can be found below:

DISCORD_TOKEN - Follow this guide
WEATHER_TOKEN - https://www.weatherapi.com/
STEAM_TOKEN - https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey
TRACKER_NETWORK_TOKEN - https://tracker.gg/developers/docs/getting-started
BENTO_API_TOKEN - You can ignore this for the time being. The Bento API is only used to fetch Lyrics
LASTFM_TOKEN - https://www.last.fm/api/account/create
WEBPROXY_HOST - You'll need to either setup, or purchase access to, a HTTP Webproxy

Finally, run the bot using the following commands:

npm run build
npm run start

Running Bento for your server

Bento updates are frequent, and to ensure you have the best experience, we'd recommend that you do not Self-Host Bento. You can add the hosted version by clicking this link

  • Install Docker for your environment
  • Copy the docker-compose file to docker-compose.yml to your environment
  • Fill in the environment varables
  • Copy the .env.example file to .env, and fill in the required values.
The API Token hosts can be found below:

DISCORD_TOKEN - Follow this guide
WEATHER_TOKEN - https://www.weatherapi.com/
STEAM_TOKEN - https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey
TRACKER_NETWORK_TOKEN - https://tracker.gg/developers/docs/getting-started
BENTO_API_TOKEN - You can ignore this for the time being. The Bento API is only used to fetch Lyrics
LASTFM_TOKEN - https://www.last.fm/api/account/create
WEBPROXY_HOST - You'll need to either setup, or purchase access to, a HTTP Webproxy

  • Create a folder called scripts, and place the Mongo Configuration Script inside. Copy this to init-mongo.js, and create a password for the Bento user.

  • Run the command docker-compose up -d