1.7.1 • Published 3 years ago

discord-spanish-fun v1.7.1

Weekly downloads
39
License
ISC
Repository
-
Last release
3 years ago

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()
1.7.1

3 years ago

1.6.7

3 years ago

1.6.5

3 years ago

1.5.9

3 years ago

1.4.7

3 years ago

1.4.1

3 years ago

1.3.2

3 years ago

1.2.7

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.7

3 years ago

1.1.5

3 years ago

1.1.0

3 years ago

1.1.3

3 years ago

1.0.1

3 years ago