feat: add /move command

This commit is contained in:
Isaac
2022-10-31 21:15:44 +00:00
parent d10965d541
commit 9f18958c75
6 changed files with 130 additions and 16 deletions

View File

@@ -804,7 +804,7 @@ module.exports = class TicketManager {
/**
* @param {import("discord.js").ChatInputCommandInteraction|import("discord.js").ButtonInteraction} interaction
*/
async preClose(interaction) {
async requestClose(interaction) {
const ticket = await this.client.prisma.ticket.findUnique({
include: {
category: true,
@@ -821,7 +821,7 @@ module.exports = class TicketManager {
* @param {boolean} skip
* @param {string} reason
*/
async close(ticketId, skip, reason) {
async final(ticketId, skip, reason) {
// TODO: update cache/cat count
// TODO: update cache/member count
// TODO: set messageCount on ticket