Chatbot

Documentation for the Chatbot function

Example

const client = // your client
const addon = require("@pgamerx/djs-addon")

addon.chatbot(client, message, {
toggle: true, // A boolean, true for enabled.
api_key: "key", // get one free from api.pga
channels: ["CHANNELID1", "CH..2"], // Channel ID's where you want this to work
name: 'chatbot', // Name of the Bot. default: Your bot name
age: 8 /* or "8" */, // Age of the bot. default: 8
developer: 'PGamerX' // Developer (your) name.

})

Parameters guide

Last updated