2.1.29 • Published 2 years ago

mpticket v2.1.29

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

About

If you restart your bot, the system will be reset MPTICKET is a powerful Discord.js module ! With this module you will be able to make a ticket system by mp easily.

  • Ticket System
  • Eeasily
  • Performant
  • Free

Installation

npm install mpticket@latest
yarn add mpticket
pnpm add mpticket

Example usage

Install all required dependencies:

npm install mpticket@latest
yarn add mpticket
pnpm add mpticket

REQUIRED:

const { onPanel, onMessage } = require('mpticket');
 // MODULE

const client = new Client({
  intents: ["DIRECT_MESSAGES"], partials: ["CHANNEL"]
}); // THE MODULE NEED THIS

Afterwards we can create a quite simple example command:

const { onPanel, onMessage } = require('mpticket');
 // MODULE

const client = new Client({
  intents: ["DIRECT_MESSAGES"], partials: ["CHANNEL"]
}); // THE MODULE NEED THIS

 onPanel({
   // OPTIONS
    prefix: "!",
    guildid: "guildid",
    categoryid: "categoryid",
    // EMBEB
        EmbebColor: "RANDOM",
// Close
    CloseMsg: "❌ – Support has marked your query as classified, thanks to you no need to reply after this message",
// Send
    SAMTitle: "It’s done! Sent by",
    SAMDesc: "I sent",
    SMTitle: "Response From",
    // Error
    ErrTicket: "❌ – Error this channel is not a ticket",
// Create
    CTMTitle: "✔️ - Ticket created",
    CTMDesc: "Support will contact you as soon as possible.",
  })

     // CHECK MESSAGE
      client.on('messageCreate', (message) => onMessage(message, client)); 

Commands

To execute a command add the prefix you defined in the panel function before the command name

- close

Allows you to close the ticket (Perform in the ticket lounge)

- send

Allows you to reply to the ticket (Perform in the ticket lounge)

Help

If you don't understand something, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Support Server.

2.1.29

2 years ago

2.1.28

2 years ago

2.1.27

2 years ago

2.1.26

2 years ago

2.1.25

2 years ago

2.1.24

2 years ago

2.1.23

2 years ago

2.1.22

2 years ago

2.1.21

2 years ago

2.1.19

2 years ago

2.1.18

2 years ago

1.3.9

2 years ago

1.2.15

2 years ago

1.1.9

2 years ago

1.1.4

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago