diff --git a/events/messageCreate.js b/events/messageCreate.js new file mode 100644 index 0000000..a0f0c81 --- /dev/null +++ b/events/messageCreate.js @@ -0,0 +1,11 @@ +const { guildId } = require('../config.json'); + +module.exports = { + name: 'messageCreate', + async execute(message, client) { + if (message.guild.id != guildId) return; + if (message.author.id == "718456289704804392" && message.content.toLowerCase().replace(/\? /).endsWith("quoi")){ + message.reply({ content: "feur"}) + } + } +} diff --git a/interactions/buttons/src/ticket/ticketopener.js b/interactions/buttons/src/ticket/ticketopener.js index 39e5c59..cec8c4c 100644 --- a/interactions/buttons/src/ticket/ticketopener.js +++ b/interactions/buttons/src/ticket/ticketopener.js @@ -34,11 +34,6 @@ module.exports = { value: 'ticket_profilepicture', emoji: '🎆' }, - { - label: 'Video/Video', - value: 'ticket_video', - emoji: '🎞' - }, { label: 'Overlay/Overlay', value: 'ticket_overlay', diff --git a/interactions/modals/src/tickets/partnership.js b/interactions/modals/src/tickets/partnership.js index aa1106d..8af0bb0 100644 --- a/interactions/modals/src/tickets/partnership.js +++ b/interactions/modals/src/tickets/partnership.js @@ -56,42 +56,42 @@ module.exports = { }, { name: "・Description・", - value: `${description}`, + value: `\`\`\`${description}\`\`\``, inline: false }, ); await channel.send({embeds:[commandtosendEMBED]}).then(msg => msg.pin()); if (invite.includes("discord.gg/")){ await interaction.client.fetchInvite(invite) - .then(async invite => { + .then(async Sinvite => { const servinfoEMBED = new EmbedBuilder() - .setTitle(invite.guild.name) + .setTitle(Sinvite.guild.name) .setFields([ { name: "Créé :", - value : ``, + value : ``, }, { name: "Membres :", - value : invite.memberCount.toString(), + value : Sinvite.memberCount.toString(), }, { name: "Description :", - value : invite.guild.description || "Aucune", + value : Sinvite.guild.description || "Aucune", }, { name: "ID :", - value : invite.guild.id.toString(), + value : Sinvite.guild.id.toString(), }, { name: "Nombre de boosts :", - value: invite.guild.premiumSubscriptionCount.toString() + value: Sinvite.guild.premiumSubscriptionCount.toString() } ]) - .setImage(invite.guild.bannerURL()) - .setThumbnail(invite.guild.iconURL({ size: 1024 })) - if (invite.guild.partnered) servinfoEMBED.setDescription("<:Z_UtilePartner:962499238783242271>") - await channel.send( { embeds: [servinfoEMBED] } ) + .setImage(Sinvite.guild.bannerURL()) + .setThumbnail(Sinvite.guild.iconURL({ size: 1024 })) + if (Sinvite.guild.partnered) servinfoEMBED.setDescription("<:Z_UtilePartner:962499238783242271>") + await channel.send( { content: invite, embeds: [servinfoEMBED] } ) }).catch(error => { console.error(error) })