NukeJS / modmail-bot

A Discord modmail bot made with Discord.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

modmail-bot

A Discord modmail bot made with Discord.js

Todos

  • Ability to delete messages in a ticket?

Installation

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

Environment Variables

Copy the .env.example file into .env:

cp .env.example .env

Update the values accordingly.

Development

Migrating the database:

npx prisma migrate dev

Need to reset the database?:

npx prisma migrate reset

Start the bot:

# yarn
yarn dev

# npm
npm run dev

Production

Migrating the database:

npx prisma migrate deploy

Build the bot for production:

# yarn
yarn build

# npm
npm run build

Start the bot:

# yarn
yarn start

# npm
npm run start

© 2022 - NukeJS | MIT License

About

A Discord modmail bot made with Discord.js


Languages

Language:TypeScript 98.1%Language:Shell 1.9%