discorder
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

discorder Travis CI Build Status

Create Discord bots.

NPM Badge

Install

npm install discorder

Usage

const discorder = require("discorder");
 
const bot = discorder("bot token");
 
client.on("ready", () => {
    console.log("Connected!");
});

API

discorder(token, options?)

Returns a new Discord.Client instance.

token

Type: string

The Discord bot token.

options

Type: object

Same as options for Discord.Client.

Package Sidebar

Install

npm i discorder

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.3 kB

Total Files

6

Last publish

Collaborators

  • richienb