discord-chatbot-simple

This is an discord-chatbot-simple package which allow you to make a chat command

Usage no npm install needed!

<script type="module">
  import discordChatbotSimple from 'https://cdn.skypack.dev/discord-chatbot-simple';
</script>

README

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