not-supportmail

Supportmail Helper

The source code of the helper bot for the SupportMail support server.

If you want to use this code, you can do so by forking this repository and modifying the code to fit your needs.

Installation and Usage

Prerequisites

Setup

1. Clone the repository

git clone https://github.com/your-username/sm-helper.git
cd sm-helper

2. Install dependencies

pnpm install

3. Environment Configuration

Create environment files in the root directory, based on the .env.example file:

[!IMPORTANT] Make sure, if you use Sentry, to update the sentry:sourcemaps script in the package.json to point to your Sentry project. Tip: You can use the Sentry CLI to automatically let sentry handle this for you.

4. Configure the bot

Running the Bot

Development mode:

pnpm dev

Production mode:

pnpm start

Building only:

pnpm build

Bot Permissions

The bot requires the following Discord permissions:

Database Setup

The bot uses MongoDB to store data. Make sure your MongoDB instance is running and accessible via the MONGODB_URI in your environment file. The bot will automatically create the necessary collections and indexes on startup.

Current Features

Support Forum Management

Support Post Commands (/question)

Feature Request System

Incident Management (/incident)

User Statistics & Recognition

Administrative Tools

Automation & Cron Jobs

Utility Features

License (Summary - not binding)

GPL3 LICENSE

  1. Anyone can copy, modify and distribute this code.
  2. You have to include the license and copyright notice with each and every distribution.
  3. You can use this software privately.
  4. You can use this software for commercial purposes.
  5. If you dare build your business solely from this code, you risk open-sourcing the whole code base.
  6. If you modify it, you have to indicate changes made to the code.
  7. Any modifications of this code base MUST be distributed with the same license, GPLv3.
  8. This software is provided without warranty.
  9. The software author or license can not be held liable for any damages inflicted by the software.

More information on about the LICENSE can be found here


TODOs?