Update size of embed for image?
parent
e5be0afbab
commit
6f193136ce
|
@ -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')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue