tiscordlib/tiscord

add: EmbedBuilder

Closed this issue · 0 comments

import {EmbedBuilder} from "tiscord";

[...]
        const embed = new EmbedBuilder()
            .setTitle('Tiscord')
            .setDescription('Is beautiful package')
            .setColor('Random')
            .setFooter({
                text: 'Footer example',
                iconURL: message.author.avatarURL
            })
            .setTimestamp(new Date().toISOString())
        
        
        message.reply({
            embeds: [embed.data],
            allowedMentions: {parse: []
        })
[...]