/DiscordJS-V14-ModMail-Bot

A Discord bot project made with the npm package discord.js version 14. The goal of the project is to manage mails on a server, and this project includes slash commands like /ban (To ban users from using ModMail)... And it's super easy to use this bot! Try it now.

Primary LanguageJavaScriptMIT LicenseMIT

The development has been discontinued as of May 16, 2024.

DiscordJS-V14-ModMail-Bot

Welcome to DiscordJS-V14-ModMail-Bot, a Discord bot project developed using the powerful npm package discord.js version 14. This bot is designed to efficiently manage modmail on a server, utilizing a single JSON database for seamless communication.

If you find this project useful, please show your support by clicking the star (⭐️) button above this repository. Thank you! 🙏

Features

  • Easy to use and set up.
  • Simplifies the management of modmail.
  • Robust error handling for a smooth experience.
  • Transcript system.
  • Webhook logging system.

Requirements:

Setup the project:

To run the project, follow these steps:

  1. Download and unzip the source code.
  2. Open Visual Studio Code and select the unzipped folder as your workspace.
  3. Use npm init -y and then npm i.
  4. Fill in the empty values in the config.js file with the required information, you can use .env file for more security. Obtain your bot token from the Discord Developer Portal.
  5. Open the terminal in Visual Studio Code and run node index.js, node ., or npm run start.
  6. Enjoy! =)

Logging Discord webhook:

Create a new integration for a text channel (which is webhook, for sure), and copy it's URL and use it in config.js or .env. It's just a simple logging system, whichs logs the newly created mail and closed mails.

Need Assistance?

If you encounter any issues or have questions about this project, please create an issue on this repository. I will respond to your inquiries as quickly as possible. Your feedback is valuable and helps improve the project.

Contributors

Thank you to all the people who contributed to DiscordJS-V14-ModMail-Bot!

License

The MIT License.