StarlitGhost / PyMoronBot

All development moved to https://github.com/DesertBot/DesertBot - A modular IRC bot with extensive aliasing capabilities, written in Python.
MIT License
9 stars 0 forks source link

Trigger command, for setting up regex triggers like URLFollow and Responses #99

Closed StarlitGhost closed 6 years ago

StarlitGhost commented 9 years ago

Syntax:

Add a trigger: .trigger add triggerName "regex" command Some prefixes before the regex could specify what part of the message it looks at, eg n"regex" for nick. It would default to the text.

Delete a trigger: .trigger del triggerName List all triggers (just names): .trigger list Show the contents of a trigger: .trigger show triggerName Export triggers to paste.ee in .trigger add format: .trigger export triggerName/all Import triggers from paste.ee: .trigger import <paste.ee address>

StarlitGhost commented 6 years ago

This issue was moved to DesertBot/DesertBot#5