Start

Start up with DJS Plus and start creating your discord bot.

Installation

Guide to installing DJS Plus with NPM

$ npm install djsplus

Now lets import it to our code

index.js
// Imports
const { Client } = require("djsplus")

// Client
let client = new Client()

// Message Event
client.on("message", (message) => {
    if(message.content === "?ping") {
        return message.reply(`Pong! ${client.ws.ping}`)
    }
})

// Login
client.login("Your bot token")

Last updated

Was this helpful?