Skip to content

IAmNonog/DiscordSupportBot

Repository files navigation

SupportBot - Discord Bot

bot discord to manage support using a forum-type channel.
Allows you to manage tickets concerning issues.

Features

A "Forum" type Discord channel is used as a support channel. So you can help your users solve their problems. Each new post/thread in this forum is then considered a ticket to be processed.

  • Customizable support role management
  • Rename new posts with a ticket ID to make them easier to find.
  • Allow support staff to flag a ticket as a duplicate of another, redirecting the user to the original ticket
  • Possibility of forcibly closing tickets, or waiting for user confirmation
  • Configurable automatic deletion of inactive tickets.

All configurable options can be found in the .config file, along with comments describing each feature.

Install with Docker

Before starting

Before you get started, you need to make sure you have Docker installed on your system, and that you're able to run the docker commands :

docker -v

Clone

  • Clone repository :
git clone https://github.com/IAmNonog/DiscordSupportBot.git
cd DiscordSupportBot

Config the bot

  • Create config file
cp .env.example .env

Fill in the necessary information in the .env file.
You must specify your bot discord token there, and your channel and support role support IDs.

  • Create configuration file
cp .config.example .config

You can modify the messages sent by the bot, and configure various options in the .config file.
So this is where you can translate the bot's messages. We recommend you take a look at this file.

Build the container

First, we'll create a docker volume to store bot logs (for auto-close functionality) :

docker volume create discord-bot-logs

Now let's build the image

docker build -t discord-bot-support-image .

Start the container

docker run -d --name discord-bot-support --env-file .env -v discord-bot-logs:/usr/src/app/logs discord-bot-support-image





Install without Docker (Legacy)

Before starting

You need :

  • NodeJS v18 and above (with npm)

Clone

  • Clone repository
git clone https://github.com/IAmNonog/DiscordSupportBot.git
cd DiscordSupportBot
mkdir ./logs/
  • Install dependancies
npm install
  • Create config file
cp .env.example .env

Fill in the necessary information in the .env file.
You must specify your bot discord token there, and your channel and support role support IDs.

  • Create configuration file
cp .config.example .config

You can modify the messages sent by the bot, and configure various options in the .config file.

So this is where you can translate the bot's messages. We recommend you take a look at this file

Deploy Commands

  • Deploy for prod :
node deploy-commands.js

Start the bot

node bot.js

About

Discord Bot - support and issue ticket management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published