AL0YSI0US / pollen-bot

A discord bot to support Pollen duties 🏡

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quickstart

Deploy

Click here to deploy!

Developer quick start πŸ‘©β€πŸ’»

npm run dev will launch the bot locally, with hot reloading included.

There are a few other scripts provided:

  • start: Starts up the bot without hot reloading; used for deployment.
  • lint: Lints the project with ESLint.
  • test: Runs all the tests! (no tests for now)

Configuration

First, install the dependencies: npm install npm install -D

If you want your bot to only accept commands on a specific channel and also redirect commands there, you need to give it the Manage Messages permission and create a channel which name includes bot-commands.

For the bot to run properly, you need to create a .env file and add these variables, laid out in the .env.sample file:

  • DISCORD_API_TOKEN: Your discord API token. See this guide on how to obtain one.
  • MONGODB_URI: Your MongoDB connection URI.
  • GUILD_ID: Your Discord server ID.
  • POLLEN_ADMIN: Your Pollen Admin ID.

About

A discord bot to support Pollen duties 🏡

License:MIT License


Languages

Language:TypeScript 98.3%Language:JavaScript 1.0%Language:Dockerfile 0.7%