Skip to content

Actually-Autistic-Developers/pollen-bot

 
 

Repository files navigation

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 🏵

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.3%
  • Other 1.7%