Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

consolebot

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consolebot

The official wrapper for creating console bots

  • 0.0.0-first
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

consolebot is a wrapper for creating console bots and is easy which only has 3 steps!

Get started by installing the wrapper: npm install consolebot@latest!

Example code:

const cb = require('consolebot');

cb.createBot({
  name: 'TEST-BOT', // Replace 'TEST-BOT' with something else
  id: '<optional>' // If you want the bot to have an id, Replace '<optional>' with a random id or something like '1'.
});

Functions

chat

The chat function is used to let the bot chat in the console!

cb.chat('<message>'); // [TEST-BOT] <message>

updateName

The updateName function is used to change the name of the bot.

cb.updateName('TEST-BOT-2'); // [TEST-BOT-2] <message> (output of the chat function)

Update

No updates are found.

Updates will be announced here!

Keywords

FAQs

Package last updated on 18 Sep 2022

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