bot discord to manage support using a forum-type channel.
Allows you to manage tickets concerning issues.
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.
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 repository :
git clone https://github.com/IAmNonog/DiscordSupportBot.git
cd DiscordSupportBot
- 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.
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 .
docker run -d --name discord-bot-support --env-file .env -v discord-bot-logs:/usr/src/app/logs discord-bot-support-image
You need :
- NodeJS v18 and above (with npm)
- 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 for prod :
node deploy-commands.js
node bot.js