donutapi
v0.1.6
Published
Una simple api de imagenes random
Downloads
25
Maintainers
Readme
DonutAPI
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)