Closed (won't fix)
Project:
Bot
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2010 at 08:15 UTC
Updated:
8 Jan 2011 at 20:52 UTC
I would suggest clarifying the factoid examples on the project page, to something like:
***
Set factoids with the following patterns:
BOTNAME: Drupal is great. yields reply "Drupal is great" when typing "Drupal?"BOTNAME: Drupal is also powerful yields reply "Drupal is great and is also powerful" when typing "Drupal?" (assuming that the first factoid example is also set)BOTNAME: Test is <reply>It works. yields reply "It works." when typing "Test?"BOTNAME: cheer is <action>cheers for !who in !channel! yields reply "BOTNAME cheers for YOURNICK in YOURCHANNEL" when typing "BOTNAME: cheer!".Factoids can be private messaged to a user by BOTNAME: tell newb about support.
Factoids are unset with BOTNAME: forget test.
***
I don't really know how to interpret the "Browsable at " in the current description, but I think that line can be clarified as well. (How does the example.com relate to the IRC chat room?)
Thanks for this module!
Comments
Comment #1
itangalo commentedOh, sorry – the "browsable at" was cut off. It should of course be "Browsable at <http://www.example.com/bot/factoid>".
Comment #2
morbus iffFactoids are one of the bot's earliest features, and this is the first time that anyone has remarked that the documentation leaves something to be desired. The project page's documentation is based on the internal documentation in the bot, available from IRC itself with "BOTNAME: help?" As such, it has to be short and concise, else it'll run up against character length limits and split across two IRC lines. Marking "works for me", with the consideration that most any question served by this longer documentation can be similarly answered by just experimenting with a live bot in the first place. Thanks for the attempt!
Comment #3
itangalo commentedIt was worth a try. :-)
Comment #4
rmiddle commentedI just ran into the same problem. I think the examples could use a face lift.
Thanks
Robert
Comment #5
morbus iffAn effortless +1 doesn't change my opinion.