Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
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

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc