Skip to content

Refactor plugin architecture #329

@chrissexton

Description

@chrissexton

I'm thinking that it'd be nice to fix all of the string splitting cruft that spans a lot of the early catbase plugins. The idea would be to replace them with regex and have the event register function take a map of regex -> func that the bot can then use to match regex, attach names to the captured fields in the regex, and run the callback with those fields being put into the args.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions