Skip to content

Commit

Permalink
Development (#13)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
osiic authored Sep 24, 2023
1 parent a8e1bd6 commit 7c1acef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 0 additions & 16 deletions events/interactionCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"version": 2,
"builds": [
{
"src": "./index.js",
Expand Down

0 comments on commit 7c1acef

Please sign in to comment.