discord-chatbot-simple

0.0.5 • Public • Published

Discord-chatbot

discord-chatbot-simple is an simple chatbot feature so hurry up and use it now

Developer

Installing the package ⬇️

npm i discord-chatbot-simple

Commands 📣

  • chatbot feature

Example of how to use the command

const Discord = require("discord.js");
const client = new Discord.Client();
const Chatbot = require("discord-chatbot-simple");
const chat = new Chatbot({ name: "your bot name" });

client.on("ready", () => {
  console.log(`Ready! Logged in as ${client.user.tag}!`);
});

client.on("message", async message => {
  if(message.channel.name === "chat" && !message.author.bot) {    
    let reply = await chat.chat(message.content)
    message.channel.send(reply)
  }
});

client.login("Your Token Here");

Constructor options:

const Chatbot = require("discord-chatbot-simple");
const chat = new Chatbot({ name: "your bot name" });

My Discord bot

Multipurpose Bot with 500+ commands zenitsu

Note

Don't forget to install the latest version of it

Developer of the Package

Asjad

Package Sidebar

Install

npm i discord-chatbot-simple

Weekly Downloads

0

Version

0.0.5

License

ISC

Unpacked Size

2.51 kB

Total Files

4

Last publish

Collaborators

  • asjadowo