1.0.1 • Published 3 years ago

djs-chatbot v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

DJS Chatbot

Table Of Contents

Installation

First install Node.JS v12+

$ npm install djs-chatbot

Importing

//JAVASCRIPT
const chat = require('djs-chatbot');

//TYPESCRIPT
import chat from 'djs-chatbot';

Support

Join the support discord server

Examples

Chatbot Command

const lmao = require("djs-chatbot");

module.exports = {
	name: "chatbot",
	run: async (client, message) => {
		const reply = await lmao.chat({ Message: "MESSAGE HERE" });
		return message.channel.send(reply);
	};
};

Always On Chatbot

const lmao = require("djs-chatbot");

client.on("message", async message => {

	const reply = await lmao.chat({ Message: "MESSAGE HERE" });
	return message.channel.send(reply);
});