Skip to content

A customized Discord API wrapper for Node.JS that lets you access much of the Discord.JS API from the client using an importing system as well as services and parenting systems similar to Roblox Studio.

License

Notifications You must be signed in to change notification settings

shysolocup/noscord.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



N⦿SCORD.JS

version downloads discord.js documentation publish

N⦿SCORD.JS is a customized Discord API wrapper for Node.JS that lets you access much of the Discord.JS API from the client using an importing system as well as services and parenting systems similar to Roblox Studio.

It's built on the latest versions of Discord.JS so it has all the new features AND the simpler setup.

  • Built in command support
  • Numerous Bug Fixes
  • Fully open source
  • Modding support
  • Custom events

⚠️ PLEASE NOTE: this package is currently in active development and is far from finished ⚠️


npm i noscord.js
npm i shysolocup/noscord.js




const { Client } = require('noscord.js');
const client = new Client();



client.on("ready", (ctx) => {
    console.log(`logged in as ${ctx.user.username}`);
});



// components has Embeds, Buttons, etc
// util has utility stuff like colors and Timestamps
client.import("util", "components");



client.on("cooldown", async (ctx) => {
    ctx.reply(`You can use this command again in ${ctx.cooldown.remaining} seconds`);
});



com.create("ping", "replies with pong", "5s", (ctx) => {
    if (ctx.onCooldown) return;


    let embed = new Embed({
        header: { text: "Pong!", size: 1 },
        timestamp: ctx.timestamps.created,
        color: util.colors.blurple,
        footer: `latency: ${ctx.latency}ms`
    });


    ctx.reply({ embeds: [embed] });
});



// logs into the bot
client.login(token);

Disclaimer

this project is created out of love for Discord development
this project and the developers behind it are:

  • not associated with Discord or Discord.JS
  • not responsible for anything created using the API



Collaborators

me
shysolocup

rocky
RockyRosso

penguins
penguin dev

About

A customized Discord API wrapper for Node.JS that lets you access much of the Discord.JS API from the client using an importing system as well as services and parenting systems similar to Roblox Studio.

Topics

Resources

License

Stars

Watchers

Forks