Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionProvider ¶
type ActionProvider interface { Init(*types.Config, *discord.Session, storage.Storer, *forum.ForumClient) (string, error) Register() []common.Action }
ActionProvider describes a type that provides a registration function that provides a set of actions that have some random chance to be called on a schedule. The `chance` parameter controls the probability the `call` function is called each time a cron job specified by `schedule` occurs.
Click to show internal directories.
Click to hide internal directories.