Skip to content

Commit

Permalink
Screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Rage-Gaming committed Sep 15, 2024
1 parent d6346a8 commit e49a252
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added .github/images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions ticket.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ module.exports = async (client) => {
})
} else if (interaction.customId == "ticket_close_confirm") {
const channel = client.channels.cache.get(interaction.channel.id);
channel.send({
content: `Ticket will be closed in 5 seconds`
interaction.reply({
content: `Ticket will be closed in 5 seconds`,
});
setTimeout(() => {
channel.delete();
Expand Down Expand Up @@ -199,7 +199,7 @@ module.exports = async (client) => {
]);

const sentMessage = await channel.send({
content: `Support ticket by <@${interaction.user.id}> \n<@&1048119915707650118> <@&1130791882558025728> <@&981442795229306912>`,
content: `Support ticket by <@${interaction.user.id}> `,
embeds: [
new EmbedBuilder()
.setAuthor({ name: `${process.env.ServerName} | Support Ticket`, iconURL: process.env.ServerLogo })
Expand Down

0 comments on commit e49a252

Please sign in to comment.