Socket
Book a DemoInstallSign in
Socket

tennu-correction

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tennu-correction

A plugin for the Tennu IRC framework. Search and replace text in previous messages.

latest
Source
npmnpm
Version
8.1.3
Version published
Maintainers
1
Created
Source

tennu-correction

A plugin for the tennu irc framework.

Search and replace text in previous messages.

Examples

  • 8:22 Havvy: Hello world
  • 8:23 Ownix: s/world/mars
  • 8:24 Bot: Correction, Hello mars

Examples (random replace)

  • 8:22 Havvy: Hello world
  • 8:23 Ownix: ra/surprise
  • 8:24 Bot: Correction, Hello surprise
  • OR
  • 8:24 Bot: Correction, surprise world

Configuration

"correction": {
    "lookBackLimit": 60, // memory usage caution, id keep this number reasonable.
},

Exports

addMiddleware(): Lets you decide what happens after someone does s/whatever/everwhat

Installing Into Tennu

See Downloadable Plugins here.

Todo:

  • Tests

FAQs

Package last updated on 26 Jan 2018

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