Socket
Book a DemoInstallSign in
Socket

niscord

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

niscord

Niscord is a powerful JavaScript library for Discord API.

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

banner

Discord npmVersion npmDownloads

npmInstall

About

Niscord is a powerful JavaScript library for Discord API.

  • Powerful
  • Object-oriented
  • Easy-to-use
  • Performant

Installation

Node.js 4.0.0 or newer is required.

Voice isn't supported yet.

Stable: npm i niscord

Master: npm i niscord/niscord

Dev: Not published

Example usage

const Niscord = require('niscord');
const client = new Niscord.Client();

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}.`);
});

client.on('message', (message) => {
  if (message.content === 'hello') {
    return message.reply('Hello');
  }
});

client.login('Client token');

Keywords

discord

FAQs

Package last updated on 08 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.