Skip to content

clojurebot-like factoids to replace the whatis plugin #58

@Raynes

Description

@Raynes

Challenging because coming up with a syntax is difficult. Your first inclination is to allow for factoid commands/queries to be like lazybot: foo is bar but that doesn't really work in lazybot. The problem is that command prefixes are arbitary strings. This means that lazybot: can actually be a command prefix in which case whatever foo is could be a command, in which case the commands and hooks would clash. I guess one option here is to modify the command/hook system so that hooks only trigger if a command isn't also triggered, but I don't want to do that. I think that the best compromise here is to just make the factoid system be a command.
e.g.

$fact foo is bar
$whatis foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions