Skip to content

[Delay/Schedule] Allow actions as well as commands #152

@HubbeKing

Description

@HubbeKing

It would be really handy to have a way to trigger arbitrary actions on a delay or timer, I think.

This came up in the recent RSS module rework, which currently sends notifications on new feed entries based on a message-channel action. Thus, it can't really notify immediately when stuff happens, and notifications can be significantly delayed if the channel is quiet.

Having a way to trigger arbitrary actions on a schedule of sorts, would let us create a new action for RSS notifications, say rss-notify, that checks for new entries and returns IRCResponses if there are any. Could probably take channel names as parameters, to be used as response targets.

We could then trigger this on a schedule, to notify certain channels whenever new RSS feed entries pop up.

So say something like Schedule, but that lets you define an action rather than a command, with appropriate string args (if any)?

Unsure how tricky this would be to implement as a module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmoduleAdds a new module, or updates an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions