Skip to content

Commit

Permalink
add solicit command
Browse files Browse the repository at this point in the history
  • Loading branch information
justmiles committed Mar 12, 2021
1 parent 1476fe2 commit 458bb61
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/plugins/standup/standup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 458bb61

Please sign in to comment.