Ticket #18 (closed task: fixed)

Opened 5 years ago

Last modified 5 years ago

Lart

Reported by: tobias382 Owned by: tobias382
Priority: normal Component: plugins
Version: 1.5 Severity: normal
Keywords: Cc:

Description (last modified by tobias382) (diff)

When a user sends a message to a channel in the format "BOTNICK: KEYWORD is DEFINITION" where BOTNICK is the nick of the bot, KEYWORD is a sequence of "word" characters, and DEFINITION is any string, the bot will store the keyword and associated definition values in an external data source.

When a user sends a message to a channel containing only a previously stored keyword value, the bot will send a message to the channel containing the definition corresponding to the specified keyword.

Change History

  Changed 5 years ago by Seldaek

The "Huh?", while being funny, would conflict with admin commands unfortunately, so I don't think we should add that. Or you need a special command such as "tell KEYWORD".

  Changed 5 years ago by tobias382

  • description modified (diff)

Good point. Updating the description to that effect.

  Changed 5 years ago by tobias382

  • status changed from new to closed
  • resolution set to fixed

(In [39]) Fixes #18 * Modified the base event handler class to automatically do a global configuration setting lookup if a plugin-specific lookup returns no result * Added the Lart plugin * Added profanity filtering to the database population routine for the Drink plugin * Fixed an issue in the Drink plugin where it attempted to continue operating even if the necessary database extensions were not loaded * Added random reactions to the Acronym plugin when no result can be returned

  Changed 5 years ago by tobias382

  • status changed from closed to reopened
  • resolution fixed deleted

Needs to be modified to make adding action-triggered larts easier as well as to support larts that result in the bot performing an action rather than responding verbally.

  Changed 5 years ago by tobias382

There's a bug in lart aliasing. If the trigger is in all uppercase, the aliased lart term is displayed instead of its related meaning.

follow-up: ↓ 7   Changed 5 years ago by tobias382

Add a -r option to recursively remove all aliases.

in reply to: ↑ 6   Changed 5 years ago by tobias382

Replying to tobias382:

Add a -r option to recursively remove all aliases.

Maybe have this as a separate command, like amnesia.

  Changed 5 years ago by Slynderdale

  • status changed from reopened to closed
  • resolution set to fixed

(In [185]) Fixes #18 Added recursive alias deleting. Now when a term is removed, all aliases pointing to that term will also be removed. Also added the ability to store more info about the lart including the hostmask of the person who added it and when it was added. A new command has been added 'lartinfo' that allows you to view information about a given term.

Note: See TracTickets for help on using tickets.