Update size of embed for image?

imgbot
Kieran 2022-09-09 19:12:22 +01:00
parent e5be0afbab
commit 6f193136ce
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ client.on('guildScheduledEventCreate', async guildScheduledEvent =>{
.setColor('GREEN') .setColor('GREEN')
.setFooter({text: `Created by ${guildScheduledEvent.creator.tag}`}) .setFooter({text: `Created by ${guildScheduledEvent.creator.tag}`})
.setTimestamp() .setTimestamp()
.setImage(`https://cdn.discordapp.com/guild-events/${guildScheduledEvent.id}/${guildScheduledEvent.image}.png`) .setImage(`https://cdn.discordapp.com/guild-events/${guildScheduledEvent.id}/${guildScheduledEvent.image}.png?size=2048`)
if(guildScheduledEvent.entityType !== 'EXTERNAL') if(guildScheduledEvent.entityType !== 'EXTERNAL')
{ {