doggiapi
v1.0.0
Published
Api (Interfaz de programación de aplicaciones) creada para los comandos de interacción, memes, diversión (entre otros)
Downloads
6
Readme
Information
Api (Application Programming Interface) created for interaction commands, memes, fun (among others)
Installation
In Windows:
$ npm i doggiapi
In Glitch:
$ pnpm i doggiapi
##Interaction Commands
función | descripcion | --- | :---: | kiss | Kiss Gif | sad | Sad Gif| dab | Dab Gif | jump | Jump Gif | kawaii | Kawaii Gif |
Examples
const doggi = require('doggiapi')
let dab = await doggi.dab()
message.channel.send(dab)
Embed Discord v12
if(message.content.startsWith(prefix + 'dab')){
const doggi = require('doggiapi')
let dab = await doggi.dab()
const embed = new Discord.MessageEmbed()
.setColor("RANDOM")
.setImage(dab)
message.channel.send(embed)
}
Embed Discord v11
if(message.content.startsWith(prefix + 'dab')){
const doggi = require('doggiapi')
let dab = await doggi.dab()
const embed = new Discord.RichEmbed()
.setColor("RANDOM")
.setImage(dab)
message.channel.send(embed)
}
Command Handler v12
const Discord = require("discord.js")
const doggi = require('doggiapi')
module.exports = {
nombre: "dab",
alias: ["d"],
descripcion: "este comando es para hacer un dab",
run: (client, message, args) => {
let dab = await doggi.dab()
const embed = new Discord.MessageEmbed()
.setColor("RANDOM")
.setImage(dab)
message.channel.send(embed)
}
}
Cmd Handler v11
const Discord = require("discord.js")
const doggi = require('doggiapi')
module.exports = {
nombre: "dab",
alias: ["d"],
descripcion: "este comando hacer un dab",
run: (client, message, args) => {
let dab = await doggi.dab()
const embed = new Discord.RichEmbed()
.setColor("RANDOM")
.setImage(dab)
message.channel.send(embed)
}
}