Package Exports
- discord-cow
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-cow) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Discord-cow
Manejador de Imágenes para Discord ✅
Cosas que debes saber:
- Solo se pueden manejar imágenes estáticas, es decir: png, jpg, jpeg, etc
- No se pueden manejar gifs
Contenidos
Métodos |
---|
Welcome |
Ejemplos usando Discord.js(v13):
Welcome
const { Welcome } = require('discord-cow')
new Welcome()
.setAvatar('https://cdn.discordapp.com/avatars/397881368715067422/a_d4e70a27e8bd8bb46a190cc4fe98fc02.jpg')
.setBackground('https://media.discordapp.net/attachments/859490570753540126/880214730990551130/320e75406177ccaa558e0c5782d382e6.jpg')
.setText('Algun texto', 'Boogalo', '#ffff00')
.use().then(image => {
const { MessageAttachment } = require('discord.js')
const att = new MessageAttachment(image, 'welcome.png')
message.reply({files: [att]})
})