You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add entry point commands + callback updates (#390)
* Add interaction callback response
* Add entry point commands + callback updates
* add missing newlines
* handle entry point command interactions
* add LaunchActivity to InteractionEvent
* fix bad copypaste
* make Handler optional when creating
* make Handler a bointer
* adjust func so it makes more sense
* adjust comment
* add newline back :-)
* address review
* remove 🅱️ointers
Copy file name to clipboardExpand all lines: discord/interaction_response.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ const (
15
15
InteractionResponseTypeAutocompleteResult
16
16
InteractionResponseTypeModal
17
17
InteractionResponseTypePremiumRequired
18
+
_
19
+
InteractionResponseTypeLaunchActivity
18
20
)
19
21
20
22
// InteractionResponse is how you answer interactions. If an answer is not sent within 3 seconds of receiving it, the interaction is failed, and you will be unable to respond to it.
0 commit comments