Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 801 Bytes

File metadata and controls

36 lines (25 loc) · 801 Bytes

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