v3.4.0 last push

This commit is contained in:
DJj123dj
2023-05-19 14:55:29 +02:00
parent 56a5b9c7d0
commit 6341f2f71b
29 changed files with 286 additions and 16 deletions
+6 -1
View File
@@ -195,8 +195,13 @@ module.exports = () => {
if (currentTicketOptions.thumbnail.enable) ticketEmbed.setThumbnail(currentTicketOptions.thumbnail.url)
if (currentTicketOptions.image.enable) ticketEmbed.setImage(currentTicketOptions.image.url)
const herePing = currentTicketOptions.ping['@here'] ? " @here" : ""
const everyonePing = currentTicketOptions.ping['@everyone'] ? " @everyone" : ""
const customPing = currentTicketOptions.ping.custom.enable ? " <@&"+currentTicketOptions.ping.custom.roleId+">" : ""
ticketChannel.send({
content:"<@"+interaction.member.id+"> @here",
content:"<@"+interaction.member.id+">"+herePing+everyonePing+customPing,
embeds:[ticketEmbed],
components:[closeButton]