Chatbot-discord

Check Out Our Public Bot :- https://dsc.gg/chatari

Downloads
5
Stars
3

chatbot-Discord

This is a fork of the original project here

  • chatbot-discord is a wrapper for chatbot API that you can use to make a chatbot in node.js specifically created for discord.js created by Code White Web

Installation

npm i chatbot-discord

Example

// import packages
const Chat = require("chatbot-discord");
const Discord = require('discord.js');
const client = new Discord.Client();

//assign var
let uid = message.author.id
let msg = message.content

//setup chat
const chat = new Chat({
    user: uid
    name: "Chatari"//name of bot
});

//main chat
chat.chat(msg).then(reply => {
    message.channel.send(reply)
})

//bot login
client.login(process.env.token);

Updates and Info

  • Updated Chatbot Wrapper from Production link to New Link And its public now!
  • If any bugs found, please report it in the Discord Server.

Support Server

~ Chatari's Secret Hallway

Package Rankings
Top 22.06% on Npmjs.org
Related Projects