Socket
Book a DemoInstallSign in
Socket

djs-chatbot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djs-chatbot

A simple to use chatbot made in javascript. Specially made for discord bots.

1.0.1
latest
npmnpm
Version published
Weekly downloads
7
600%
Maintainers
1
Weekly downloads
 
Created
Source

DJS Chatbot

NPM info

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);
});

Keywords

alexa

FAQs

Package last updated on 11 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.