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-rc

v2.9.4

Published

Are you very lazy to code, or you don't know how to code discord bots? Discord-ReadyCodes will help you do codes for Discord.js in just a line!

Downloads

7

Readme

drcpic

Discord Ready Codes

Are you very lazy to code, or you don't know how to code discord bots? Discord Ready Codes will give you free codes for Discord.js with just a line!

Join Support Server

How-to use :

USE console.log(drc.help()) TO GET A FULL HELP LIST OF DISCORD.RC in YOUR CONSOLE

Here are some examples about setting up a bot using Discord-ReadyCodes.

WARNING: ONLY DISCORD.JS VERSION 12 IS SUPPORTED.

const drc = require('discord-rc');
//Setting up a new bot
const bot = new drc.Bot({ prefix: "!!" });//default prefix is "!"
let token = "YOUR BOT TOKEN HERE";
//Logging in to the bot
bot.login(token);
bot.ready(`Logged in to ${bot.user.username}`)//console.log a message when the bot is ready*

//Setting the bot status
bot.activity(`!!help`, { type: "PLAYING" });
 

Status

Commands

//No PROFESSIONAL coders required, you just have to run this simple code
//
//Kick Command
//You can also customize messages of Almost every command
//Setting messages to a command is Optional
let kick = new drc.Command("kick", {
/* Variables: 
[user] -> mentioned user
[author] -> message author
[channel] -> message channel
[guild] -> message server name */
   kickMessage:"[user] has been kicked from the server",//message sent when a user gets kicked
   noPermission: "[author], you dont have permission to execute this command", //if a user doesnt have the kick permission
   clientNoPermission: ":x: i dont have permission to kick members",//if bot doesnt have permission to kick members
   userNotFound: "User not found."//if user ID or mentioned user is not found
});
kick.start();
//You can also run many commands with one constant
const bulk = new drc.BulkCommands(['kick', 'ban'], {
   banMessage:"[user] has been banned from the server",//This is for the ban command
   kickMessage:"[user] has been kicked from the server",//This is for the kick command
   noPermission: "[author], you dont have permission to execute this command",//this is for all of the commands that are being bulk started here
   clientNoPermission: ":x: i dont have permission to kick members",//this is for all of the commands that are being bulk started here
   userNotFound: "User not found."//this is for all of the commands that are being bulk started here
})
bulk.start();

//Now the kick & ban command are working!
//YOU CAN FIND THE AVAILABLE COMMANDS BELOW THIS CODE

banExample

Available Commands:

Games

  • 8ball - 8ball Game. NO CUSTOMIZATION
  • howgay - how gay Game. NO CUSTOMIZATION

Moderation

  • ban - Ban command. CUSTOMIZATION AVAILABLE
  • kick - Kick command. CUSTOMIZATION AVAILABLE
  • lock - Deny the permission SEND_MESSAGES for everyone in a channel. CUSTOMIZATION AVAILABLE
  • unlock - Allow the permission SEND_MESSAGES for everyone in a channel. CUSTOMIZATION AVAILABLE

MORE SOON....

USE console.log(drc.help()) TO GET A FULL HELP LIST OF DISCORD.RC in YOUR CONSOLE

WE ARE RELEASING OUR DOCS SOON

Other useful Stuff:

const drc = require('discord-rc');
let array = ["Hi", "Hello", "How are you?", "Do you like cookies?"];
drc.randomize(array); //Returns a random slice in that array
//
drc.roll(100);//Returns a number between 0 and 100