discord-spanish-fun

1.7.1 • Public • Published

Discord Spanish Fun

Este Es un paquete con el que puedes crear un comando random gif sin tener que definir cada gif y chiste!

INSTALACION SEGURA

npm i discord-spanish-fun --save

SOPORTE

https://discord.gg/28Ndj5Q5

RANDOM GIFS

Ejemplo 1 De Como Usar (EN DISCORD.JS)

if(msg.content.startsWith(prefix + "randomgif")){
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.randomgifs())
  }

Ejemplo 2 De Como Usar (EN DISCORD.JS)

if(msg.content === "randomgif") {
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.randomgifs())

Bot Entero

const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = ("b!");
const dfun  = require("discord-spanish-fun");

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
 
client.on('message', msg => {
  if (msg.content.startsWith(prefix + "randomgif")) {
    msg.channel.send(dfun.randomgifs());
  }
});
 
client.login('token');

PREGUNTAS RANDOM

Ejemplo 1 De Como Usar (EN DISCORD.JS)

if(msg.content.startsWith(prefix + "pregunta")){
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.pregunta())
  }

Ejemplo 2 De Como Usar (EN DISCORD.JS)

if(msg.content === "pregunta") {
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.pregunta())

Bot Entero

const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = ("b!");
const dfun  = require("discord-spanish-fun");

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
 
client.on('message', msg => {
  if (msg.content.startsWith(prefix + "pregunta")) {
    msg.channel.send(dfun.pregunta());
  }
});
 
client.login('token');

Aclaracion!

En el comando de random gif donde definimos rgif const rgif  = require("discord-spanish-fun");, si cambiamos rgif por alguna otra cosa tambien cambiara en msg.channel.send(rgif.randomgifs());

Ejemplo De La Aclaracion

if (msg.content.startsWith(prefix + "randomgif")) {
    const discordfun  = require("discord-spanish-fun");
    msg.channel.send(discordfun.randomgifs());

CHISTES

Ejemplo 1 De Como Usarlo (EN DISCORD.JS)

if(msg.content.startsWith(prefix + "chiste")){
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.chiste())
  }

Ejemplo 2 De Como Usarlo (EN DISCORD.JS)

if(msg.content === "chiste") {
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.chiste())

En Un Bot Entero

const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = ("b!");
const dfun  = require("discord-spanish-fun");

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
 
client.on('message', msg => {
  if (msg.content.startsWith(prefix + "chiste")) {
    msg.channel.send(dfun.chiste());
  }
});
 
client.login('token');

MEMES

Ejemplo 1 De Como Usarlo (EN DISCORD.JS)

if(msg.content.startsWith(prefix + "meme")){
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.meme())
  }

Ejemplo 2 De Como Usarlo (EN DISCORD.JS)

if(msg.content === "meme") {
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.meme())

En Un Bot Entero

const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = ("b!");
const dfun  = require("discord-spanish-fun");

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
 
client.on('message', msg => {
  if (msg.content.startsWith(prefix + "meme")) {
    msg.channel.send(dfun.meme());
  }
});
 
client.login('token');

Insultos De Estupidez

Ejemplo 1 De Como Usarlo (EN DISCORD.JS)

if(msg.content.startsWith(prefix + "insultame")){
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.insulto_de_estipidez())
  }

Ejemplo 2 De Como Usarlo (EN DISCORD.JS)

if(msg.content === "meme") {
    const dfun = require("discord-spanish-fun");
    msg.channel.send(dfun.insulto_de_estipidez())

En Un Bot Entero

const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = ("b!");
const dfun  = require("discord-spanish-fun");

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});
 
client.on('message', msg => {
  if (msg.content.startsWith(prefix + "meme")) {
    msg.channel.send(dfun.insulto_de_estipidez());
  }
});
 
client.login('token');

Metodos

randomgifs()
chiste()
meme()
pregunta()
insulto_de_estipidez()

Readme

Keywords

Package Sidebar

Install

npm i discord-spanish-fun

Weekly Downloads

1

Version

1.7.1

License

ISC

Unpacked Size

11.2 kB

Total Files

3

Last publish

Collaborators

  • ajazzan