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

1.4.5 • Public • Published

Disc4js

A discord websocket package

Hello to Disc4js

It's a simple discord library, if u need help or support, send message to me: 719986033583849502

Example ping command:

const {Client} = require("disc4js")

const client = new Client("TOKEN", {
    intents: 3276799
})

client.once("ready", () => {
    console.log("BOT ONLINE!")
})

client.on("message", async(message) => {
    if(message.content == "!ping") {
        message.channel.sendMessage({
            content: `Pong!`
    })
    }
})

Package Sidebar

Install

npm i disc4js

Weekly Downloads

0

Version

1.4.5

License

MIT

Unpacked Size

122 kB

Total Files

159

Last publish

Collaborators

  • bryzerrrr