From 7c1aceff9f9954b00533f429356fcbb453e5ac80 Mon Sep 17 00:00:00 2001 From: Osi ic <96474947+osiic@users.noreply.github.com> Date: Sun, 24 Sep 2023 13:14:52 +0700 Subject: [PATCH] Development (#13) * feat(button-ticket): create ticket, set permiss, and test msg (#2) * update(readme): readme (#1) * feat(button-ticket): embed and close button is done * deb: remove console.log * add(databse): prisma + sqlite (#9) * feat(server): add server experss for vercel (#10) * Server (#12) * feat(server): add server experss for vercel * fix(server): add vercel version --- events/interactionCreate.js | 16 ---------------- vercel.json | 1 + 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/events/interactionCreate.js b/events/interactionCreate.js index d95ad13..d268352 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -84,22 +84,6 @@ module.exports = { }, ], }); - const ticketEmbed = new EmbedBuilder() - .setColor(0x0099ff) - .setTitle("Open Ticket") - .setDescription( - "**Close a Ticket using the button below this message!**", - ) - .setFooter({ - text: "Do not use for joking or playing around", - iconURL: interaction.guild.iconURL(), - }); - - const closeTicket = new ButtonBuilder() - .setLabel("Close Ticket") - .setCustomId("close-ticket") - .setStyle(ButtonStyle.Danger) - .setEmoji("✖️"); const ticketEmbed = new EmbedBuilder() .setColor(0x0099ff) diff --git a/vercel.json b/vercel.json index e8b4871..e8eaad7 100644 --- a/vercel.json +++ b/vercel.json @@ -1,4 +1,5 @@ { + "version": 2, "builds": [ { "src": "./index.js",