mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-04-05 04:41:41 +03:00
26 lines
478 B
JavaScript
26 lines
478 B
JavaScript
const EventEmitter = require('events');
|
|
// eslint-disable-next-line no-unused-vars
|
|
const { Client } = require('discord.js');
|
|
|
|
/** Manages tickets */
|
|
module.exports = class extends EventEmitter {
|
|
/**
|
|
* Create a TicketManager instance
|
|
* @param {Client} client
|
|
*/
|
|
constructor(client) {
|
|
super();
|
|
|
|
/** The Discord Client */
|
|
this.client = client;
|
|
|
|
this.setMaxListeners(this.client.config.max_listeners);
|
|
}
|
|
|
|
/**
|
|
* Create a new ticket
|
|
*/
|
|
async create() {
|
|
|
|
}
|
|
}; |