@ashyboxy/discord-bread
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

discord-bread

Installation

npm i @ashyboxy/discord-bread

Example

const Bread = require("@ashyboxy/discord-bread");

const client = new Bread.Client({
    "token": "Bot Token Here"
});

client.on("message", (msg) => {
    if(msg.content == "!ping") {
        msg.sendChannel("Pong!");
    }
});

client.on("connected", () => {
    console.log(`Online as ${client.tag}!`);
});

Package Sidebar

Install

npm i @ashyboxy/discord-bread

Weekly Downloads

313

Version

1.2.1

License

MIT

Unpacked Size

12.2 kB

Total Files

9

Last publish

Collaborators

  • ashyboxy