Code Monkey home page Code Monkey logo

ticket-system-discordjs's Introduction

Ticket System

Discord.JS Ticket System

Discord NodeJS Javascript

Reminder

The code isnt the cleanest, This was a bot for a FiveM server. If you want more opensource bots, just star the project and i will make more!

Setup the bot

Discord Developer Portal

  1. First create a application on the [Developer Portal]
  2. Make your application a bot [Image]

The bot it self!

  1. Change the bot token to your bot token | You can find it under [here]
    You can change the token [here]
  2. When you changed the token, you can simply start up the bot using: "node ." in your terminal!
  • If this gives a error try changing the Intents of your bot at [here]

Features

  • Ticket System (Ticketpanel, Close, Remove, Add, Rename)
  • Mutli Guild Supported
  • Transcript System
  • Interaction (Select Menu, Buttons)
  • Changeable (Messages and Config)
  • Database Models | Getters/Setts/Checkers for database information

Commands

  • Ticketpanel | This creates a panel with a button! | [Example]
  • Close | This closes the ticket and saves the transcript | [Example]
  • Add | Add a mentioned user to the ticket | [Example]
  • Remove| Remove the mentioned user form the channel | [Example]
  • Rename | Rename the channel to the given name. | [Will update soon]
  • Claim | Claims the ticket (Only works with claim button)! | [Example]

Command Handler

module.exports = async(client) => {
const discord = require("discord.js");

module.exports = {
    name: "test",
    description: "Dit is een test commando.",
    perms: {
        client: [discord.Permissions.ADMINISTRATOR],
        user: [discord.Permissions.FLAGS.ADMINISTRATOR]
    },
    aliases: ["test"],

    execute: async(client, message, args) => {
    
    // Code
        
    }
}

ticket-system-discordjs's People

Contributors

h1sti avatar thoo0224 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.