Skip to content

Tyger-Git/Sanctuary-Support-Bot

Repository files navigation

Sanctuary-Support-Bot

Ticket bot for Sanctuary

Sanctuary-Support-Bot is a Discord bot designed to provide a comprehensive ticketing system for the Sanctuary Discord Server. Built with node.js, discord.js v14 and MongoDB.

Usage

This discord bot collects support tickets from any number of discord servers deemed "listener" servers, and stores tickets within various MongoDB collections. Once a ticket has been created, a forum thread is made with relevant ticket information, that is used by a "moderator" in conjunction with the various commands and components of the UI to resolve the ticket. All actions and events are logged and accesable with query commands via the bot.

Features

  1. Chat Input Commands: Command-driven interactions using slash commands.
  2. Interactive UI Components: Buttons, embeds, select menus, and modals to enhance user interaction.
  3. Logs: Stored information about past tickets, actions, and events.

Getting Started

Prerequisites

  • Node.js
  • Discord.js v14 (or your specified version)
  • MongoDB

Installation

  1. Clone the repo:
    git clone https://github.com/[Your-Username]/Sanctuary-Support-Bot.git
  2. Install NPM packages:
    npm install
  3. Enter your config:
    {
     "listenerServer": "[SERVERID]",
     "modServer": "[SERVERID]",
     "clientId": "[BOTID]",
     "devs": ["[DEVUSERID]", "[DEVUSERID]", "[DEVUSERID]", "[DEVUSERID]"]
    }
  4. Enter your ENV:
    TOKEN = [BOT TOKEN]
    MONGODB_URI = [Your DB Link]
  5. Running the bot:
    node index.js
    Optionally, use "nodemon" for hot reloading during development.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Ticket bot for Sanctuary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published