horsebot: make skill responses ephemeral with share button
This commit is contained in:
@@ -84,7 +84,8 @@ func main() {
|
||||
r.Route("/skill", func(r handler.Router) {
|
||||
r.SlashCommand("/", skillSrv.slash)
|
||||
r.Autocomplete("/", skillSrv.autocomplete)
|
||||
r.ButtonComponent("/{id}", skillSrv.button)
|
||||
r.ButtonComponent("/swap/{id}", skillSrv.button)
|
||||
r.ButtonComponent("/share/{id}", skillSrv.share)
|
||||
})
|
||||
|
||||
opts := []bot.ConfigOpt{bot.WithDefaultGateway(), bot.WithEventListeners(r)}
|
||||
|
||||
Reference in New Issue
Block a user