starting on guild and member fetching
This commit is contained in:
parent
9755318400
commit
aafe3e2d21
12 changed files with 149 additions and 20 deletions
|
@ -72,3 +72,8 @@ func (i *Interactions) PostHandler(c fiber.Ctx) error {
|
|||
|
||||
return types.NewAPIError(http.StatusNotImplemented, "not implemented").Send(c)
|
||||
}
|
||||
|
||||
func (i *Interactions) Respond(ix Interaction, ir InteractionResponse) error {
|
||||
// TODO: make request to /webhooks/appid/{ix.Token}
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ type Interaction struct {
|
|||
GuildID string `json:"guild_id"`
|
||||
AppPermissions uint64 `json:"app_permissions"`
|
||||
Type uint64 `json:"type"`
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue