Skip to content

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

License

Notifications You must be signed in to change notification settings

Tennu/tennu-correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published