diff --git a/events/guildScheduledEvent.js b/events/guildScheduledEvent.js index 2f6e804..f38ebb8 100644 --- a/events/guildScheduledEvent.js +++ b/events/guildScheduledEvent.js @@ -4,12 +4,12 @@ const client = require("../index"); client.on('guildScheduledEventCreate', async guildScheduledEvent =>{ const channel = client.channels.cache.get('973686987787751534') const embed = new MessageEmbed() + .setTitle(guildScheduledEvent.name) + .setDescription(guildScheduledEvent.description) .setColor('GREEN') .setFooter({text: `Created by ${guildScheduledEvent.creator.tag}`}) .setTimestamp() - .setTitle(guildScheduledEvent.name) .setImage(`https://cdn.discordapp.com/guild-events/${guildScheduledEvent.id}/${guildScheduledEvent.image}.png`) - .addField('Description', `${guildScheduledEvent.description}`) if(guildScheduledEvent.entityType !== 'EXTERNAL') {