Skip to content

Commit

Permalink
fix: Update example 19 to match bot command interface
Browse files Browse the repository at this point in the history
  • Loading branch information
arusso committed Jul 1, 2022
1 parent 55d24e6 commit b3d6caf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/19/example19.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"github.com/shomali11/commander"
"github.com/shomali11/proper"
"github.com/shomali11/slacker"
"github.com/slack-go/slack"
"github.com/slack-go/slack/socketmode"
)

func main() {
Expand Down Expand Up @@ -63,3 +65,6 @@ func (c *cmd) Execute(botCtx slacker.BotContext, request slacker.Request, respon
log.Printf("Executing command [%s] invoked by %s", c.usage, botCtx.Event().User)
c.definition.Handler(botCtx, request, response)
}

func (c *cmd) Interactive(*slacker.Slacker, *socketmode.Event, *slack.InteractionCallback, *socketmode.Request) {
}

0 comments on commit b3d6caf

Please sign in to comment.