1.0.0 • Published 3 years ago

iforster-embed v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

iForster's Embed Package

Create a Embed

const { Embed } = require("iforster-embed");

console.log(
   Embed("Title", "Description", "Color", "Footer", "Author", "Timestamp")
);

// Console Output:
// MessageEmbed {
//   type: 'rich',
//   title: 'Title',
//   description: 'Description',
//   url: null,
//   color: 12,
//   timestamp: 1626783865964,
//   fields: [],
//   thumbnail: null,
//   image: null,
//   video: null,
//   author: { name: 'Author', iconURL: undefined, url: undefined },
//   provider: null,
//   footer: { text: 'Footer', iconURL: undefined },
//   files: []
// }