dis.js

0.0.4 • Public • Published

dis.js

Installation

Node.js LTS or newer is required.

npm install dis.js

Example usage

const Discord = require("dis.js")
const client = new Discord.Client();

client.login(token).then(() => console.log("I am ready!"));

client.on("message", (message) => {
    if (message.content === "!ping") message.channel.send(new Date() - message.timestamp + "ms");
    if (message.content === "!reply") message.reply("Hello!");
})

Links

Readme

Keywords

Package Sidebar

Install

npm i dis.js

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

10.8 kB

Total Files

12

Last publish

Collaborators

  • angelcmhxd
  • brunorm