Skip to content

MorganDilling/modtech

Repository files navigation

🛠️ Modtech

A utilities and moderation bot for Discord.

GitHub

Setup

You will need:

Install dependencies with pnpm install.

Config

Create a file named config.json in the root directory of the project. This file should contain the following:

{
  "token": "[discord bot token]",
  "owners": ["[bot owner id]"],
  "feedbackChannel": "[feedback channel id]"
}

Create a file named .env in the root directory of the project. This file should contain the following:

DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"

Where the DATEBASE_URL is a valid PostgreSQL connection string.

Scripts

  • pnpm run start - Run the project in production
  • pnpm run dev - Run the project in development (with hot reloading)

License

This project is licensed under MIT

Credits

👤 Morgan Dilling "MJD"

Contributing

Contributions, issues and feature requests are welcome! Check out the Code of Conduct before contributing.

About

A utilities and moderation bot for Discord.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published