The type of embed for discord's api
A field for embed
fields For embed
embed.addFields([{ name: 'some name', value: 'some value' }])
The hex color code for the embed
embed.setColor('#6f00ff')
embed.setColor(0x6f00f)
Description For Embed.
text to be displayed in footer of embed
Url of the image, this can also be a file name
name of provider if exists
Url for thumbnail in embed
Extra options for thumbnail.
//without options
embed.setThumbnail('https://cdn.discordapp.com/attachments/792884815631351869/.jpg')
//with options
embed.setThumbnail('https://cdn.discordapp.com/attachments/792884815631351869/.jpg', { height: 100, width:100 })
The timestamp of the embed.
embed.setTimestamp()
title for image embed
embed.setTitle('some title');
url of embed
embed.setUrl('https://discord.com')
url for video in embed
extra options
embed.setVideo('https://tinyurl.com/icehacks')
The Fuwa#Embed class is a built in way to create beautiful Discord embeds with our API. This class extends the basic discord api with more functions.