Open net-tech opened 2 years ago
const TicketPanels = dbSql.define('TicketPanels', {
name: {
type: DataTypes.STRING,
allowNull: false
},
value: {
type: DataTypes.STRING,
allowNull: false
},
description: {
type: DataTypes.STRING,
allowNull: false
},
channelPrefix: {
type: DataTypes.STRING,
allowNull: false
},
guildId: {
type: DataTypes.STRING,
allowNull: false
},
buttonName: {
type: DataTypes.STRING,
allowNull: false
},
tpguid: {
type: DataTypes.STRING,
allowNull: false
},
messageLink: {
type: DataTypes.STRING,
allowNull: false
},
category: {
type: DataTypes.STRING,
allowNull: false
},
logChannel: {
type: DataTypes.STRING,
allowNull: false
}
})
const Tickets = dbSql.define('Tickets', {
channelId: {
type: DataTypes.STRING,
allowNull: false
},
authorId: {
type: DataTypes.STRING,
allowNull: false
},
paneltpguid: {
type: DataTypes.STRING,
allowNull: false
},
status: {
type: DataTypes.STRING,
allowNull: false
},
openDate: {
type: DataTypes.DATE,
allowNull: false
},
closeDate: {
type: DataTypes.DATE,
allowNull: true
}
})
Marking as implemented. Any further usage issues, open a new issue for localization purposes.
This feature has not gotten completed. It will be marked as completed when the entire feature is ready for production. We won't make multiple issues for the same feature.
@tm21cy please click transfer issue below "Lock Conversation" and transfer this issue to the new repository,
Ticket System
Description
Add a ticket system. Upon clicking a button, a new ticket channel gets created. The ButtonInteraction user gets added along with the staff. The staff added is a configurable feature. A command with which the panel is configured/sent is also a feature.
Commands
Commands & Groups:
Commands:
Technical Implementation
@tm21cy will build the database size. There will be internal database methods such as
Revisions, changes, and comments
Blizzy and I should announce any revisions or changes here.