New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

spoondev

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spoondev

Modulo npm para manipular imagenes

  • 1.3.2
  • npm
  • Socket score

Version published
Weekly downloads
463
increased by6514.29%
Maintainers
0
Weekly downloads
 
Created
Source

Bienvenidos a Spoon

Este modulo te servira para manipular imagenes, como por ejemplo arregar imagenes, texto y cambiar el color de los textos.

Este Modulo npm esta pensado para realizar tu bot de Discord.

ATENCION: Para recibir tu token debes de ingresar a nuestro servidor de discord y perdirlo en el canal correspondiente

Discord

#Ejemplo

Modo de uso

const Spoon = require("spoondev");
const token = "aqui-va-tu-token"


const img = new Spoon.Img(token)
const bienvenida = new img.card.bienvenida()
  .token(token)
  .titulo('Juanppdev')
  .colorTit('white')
  .colorDesc('black')
  .descripcion('Bienvenid@ al servidor')
  .avatar(interaction.user.avatarURL({extension: "png"}))
  .fondo('https://i.imgur.com/BdosPHw.png');
        
  await wait(4000)
  const buffer = await img.card.render(bienvenida);
  if (Buffer.isBuffer(buffer)) {
    const attachment = new AttachmentBuilder(buffer, { name: 'default.png' });
          
    await interaction.editReply({
      files: [attachment],
    });
  } else {
    console.error('Error: El recurso generado no es un buffer válido.');
  }

Versiones

1.0.0: generacion de imagenes arreglada

Keywords

FAQs

Package last updated on 30 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc