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.
git clone https://github.com/your-username/sm-helper.git
cd sm-helper
pnpm install
Create environment files in the root directory, based on the .env.example file:
.env.dev: For development environment variables.env.production: For production environment variables[!IMPORTANT] Make sure, if you use Sentry, to update the
sentry:sourcemapsscript in thepackage.jsonto point to your Sentry project. Tip: You can use the Sentry CLI to automatically let sentry handle this for you.
Development mode:
pnpm dev
Production mode:
pnpm start
Building only:
pnpm build
The bot requires the following Discord permissions:
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.
Please refer to the FEATURES.md file for a detailed list of current features, components, event-driven automations, cron jobs, database models, caches, utilities, and configuration options.
More information on about the LICENSE can be found here
ends_at on /incident create field for maintenance