Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elbeenmachine/bean-bot
The source code and deployment instructions for Bean Bot
https://github.com/elbeenmachine/bean-bot
discord discord-bot discord-bot-template discord-js discord-js-bot discord-js-bot-template discord-js-v14
Last synced: 2 months ago
JSON representation
The source code and deployment instructions for Bean Bot
- Host: GitHub
- URL: https://github.com/elbeenmachine/bean-bot
- Owner: ElBeenMachine
- Created: 2023-05-24T00:16:53.000Z (over 1 year ago)
- Default Branch: production
- Last Pushed: 2024-06-19T02:47:34.000Z (6 months ago)
- Last Synced: 2024-09-24T11:33:49.651Z (3 months ago)
- Topics: discord, discord-bot, discord-bot-template, discord-js, discord-js-bot, discord-js-bot-template, discord-js-v14
- Language: JavaScript
- Homepage: https://beenhamow.co.uk/projects/bean-bot
- Size: 274 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setting Up Your Bot
## Installing Docker
Before running Bean-Bot, you must ensure that you have docker installed on your system. More information on this can be found [here](https://www.docker.com/get-started/).
## Set up your database
In order for the bot to run, you must have an accessible MongoDB database. I would recommend hosting your database on the free tier of MongoDB's Atlas service. You can set up a database cluster [here](https://cloud.mongodb.com).
Now that your database is set up, you will need to get your connection string. It should look something like this:
`mongodb+srv://:@.mongodb.net/bean-bot`
## Getting your bot token
Next, you need to register a bot with Discord and enable all intents. This can be accomplished on the [Discord Developer Portal](https://discord.com/developers).
## Starting the bot
Now that you have your database connection string and your bot token, you are ready to deploy your bot. Simply run the command below, and the bot will download and start.
`docker run --name bean-bot -e BOT_TOKEN="" -e DB_URI="" beenhamo/bean-bot`