-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It'd be nice if some commands for examining or manipulating the factoid config were present. Also use some of this for documentation.
Things like:
- factoid_config set alias example.com:#namespace to freenode.net:#perlbot [--recurse]
This sets the namespace alias for the channel #namespace on server example.com to refer to freenode.net:#perlbot - factoid_config tree example.com:#namespace
This gives a list of how the factoids are resolved: example.com:#namespace -> parentserver:#parentchannel -> ... -> *:##NULL - factoid_config dump example.com:#namespace
Give back a JSON encoded copy of the config for this channel - factoid_config set command_prefix !
- factoid_config unset command_prefix
Control the factoid command prefix, only used in #regex right now, for a default factoid handler running in the channel.
This lets things like the following work:
<simcop2387> !rehelp
<perlbot> simcop2387: Please share a https://regex101.com/ link containing your regex and sample data, stay as long as possible, and we'll do our best to assist you ASAP.
Metadata
Metadata
Assignees
Labels
No labels