/squirrelers-bot

🐿️ A Discord bot for squirrel lovers. For DDevs Buildathon.

Primary LanguageJavaScriptMIT LicenseMIT

Header

Deploy on Railway

🔗 Invite

Go to this link and add the bot to your server.

🖥️ Hosting

We are hosting Squirrelers bot on our own servers. Bot will be online 24/7. We currently don't have enough resources to host the bot. If you want to host the bot on your own server, you can follow the steps below.

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/chimpdev/squirrelers-bot.git
  1. Go to the project directory
cd squirrelers-bot
  1. Install dependencies
pnpm i
  1. Create a new cluster on MongoDB Atlas and copy the connection string.

  2. Create a new application on Discord Developer Portal and copy the bot token.

  3. Edit .env file (see below)

  4. Start the bot

pnpm start
  1. (optional) Register commands to Discord
pnpm register:commands

.env file

This bot uses .env file to store sensitive data. You can create .env file in the root directory of the project and add the following variables to it.

Variable Description Required
DISCORD_TOKEN Discord bot token
MONGO_URI MongoDB connection string