diff --git a/lib/plugins/standup/standup.go b/lib/plugins/standup/standup.go index 3713cf5..567ffe2 100644 --- a/lib/plugins/standup/standup.go +++ b/lib/plugins/standup/standup.go @@ -56,12 +56,24 @@ func init() { "", shareStandupNotesRequest, ) + // bot.RegisterPassiveCommand("standup", log) + bot.RegisterCommand( + "solicit", + "Solicit participants for their standup notes", + "", + solicitStandupNotesRequest, + ) } + func solicitStandupNotes(channel string) (string, error) { return solicitStandupMessage, nil } +func solicitStandupNotesRequest(command *bot.Cmd) (msg string, err error) { + return solicitStandupNotes(command.Channel) +} + func shareStandupNotesRequest(command *bot.Cmd) (msg string, err error) { return shareStandupNotes(command.Channel) }