JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q26161F
  • License MIT

Una simple api de imagenes random

Package Exports

  • donutapi

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 (donutapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

DonutAPI

npm npm

NPM

Información

Api( Application Programming Interface) de imagenes random de interación, creada para el uso en Bots de Discord.

Instalación

En Windows:

$ npm i donutapi

En Glitch:

$ pnpm i donutapi
  • Contenido SFW
Función Descripcion
kiss kiss Gif
feed Feed Gif
neko Neko Img/Gif
lick Lick Gif
pout Pout Img/Gif
angry Angry Gif
pat Pat Gif

Ejemplos

const donut = require('donutapi')

let kiss = await donut.kiss()

message.channel.send(kiss)

Embed ejemplo

Versión 12

 const donut = require('donutapi')
 let kiss = await donut.kiss()
 
 let embed = new Discord.MessageEmbed()
   .setColor("RANDOM")
   .setImage(kiss)
   message.channel.send(embed)

Versión 11

 const donut = require('donutapi')
 let kiss = await donut.kiss()
 
 let embed = new Discord.RichEmbed()
   .setColor("RANDOM")
   .setImage(kiss)
   message.channel.send(embed)