npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

discord-beginner

v2.0.3

Published

Ayuda para los principiantes de Discord.

Downloads

147

Readme

Discord Beginner

Este módulo esta en español aunque su nombre sea en ingles para facilitar su busqueda

Documentación

//Requerimos del módulo: npm install discord-beginner
const discordbeginner = require("discord-beginner")

//Definir message (IMPORTANTE)
discordbeginner.definirMessage(message)

//Para crear un pincode y que se genere en consola usa:
discordbeginner.generatePinCode()
//Output: Un pin de cuatro dígitos. Ejemplo: 7309

//Borrar mensajes de un canal discord (REQUIERE DISCORD.JS)
discordbeginner.borrarMensajes(50)
//Output: Borrara 50 mensajes del canal que este.

//Borrar un canal con el nombre (REQUIERE DISCORD.JS)
discordbeginner.borrarCanal("prueba")
//Output: Borrara el canal prueba en el servidor que ejecutes el mensaje

//Enviar un mensaje al canal del mensaje
discordbeginner.enviarMensaje("Prueba")
//Output: Envia un mensaje "Prueba" al canal que estes

//Enviar un mensaje al autor del mensaje
discordbeginner.enviarMensajeDM("Prueba")
//Output: Envia un mensaje "Prueba" al autor que lo haya mandado

Changelog

1.0.0 Este módulo es creado con su primera función .generatePinCode().

1.0.1 Este módulo es actualizado para corregir sus primeros bugs.

1.0.2 Actualizado para añadir README.

1.0.3 Actualizado para corregir pequeños bugs.

1.1.0 Nueva función Promise añadida para usar tu pincode .generatePPinCode()

1.1.1 Corregido el error de la nueva función.

1.1.2 Actualizado el README para la nueva función.

1.1.3 Cambios menores.

1.1.4 Cambio de nombre a la funcion de .generatePPinCode() ahora debemos usar .generatePPinCode.

1.1.5 Arreglado el bug del mismo pin al usar .generatePPinCode.

1.1.6 Cambios visuales.

1.2.0 Eliminado .generatePPinCode.

1.3.0 Añadido .borrarMensajes() y su respectivo ejemplo.

1.3.1 Arreglado el bug del .borrarMensajes(). Ahora debes poner de parámetro tu message, el evento message de discord.js.

1.3.2 Cambios internos.

1.3.3 Cambios visuales.

1.3.4 Cambio en la estructura del README.

1.3.5 Cambios internos.

1.3.6 Cambios internos.

1.4.0 Añadido una nueva funcion .borrarCanal(nombre, message) y cambios internos.

1.4.1 Correción de bugs.

1.4.2 Preparación del lanzamiento público.

1.4.3 Corrección del README

1.4.4 Lanzamiento público completado.

1.5.0 Nueva forma de definir message.

1.5.1 Cambios internos.

1.5.2 Cambios internos.

1.6.0 Añadida la función .enviarMensaje().

1.7.0-beta Añadida la función .enviarMensajeDM().

1.7.0 Corrección de bugs de la beta.

2.0.0 A partir de ahora requerimos de chalk. npm i chalk

2.0.1 Corrección de bugs.

2.0.2 Cambios internos

2.0.3 Cambios leves.