starting on guild and member fetching

This commit is contained in:
41666 2025-03-25 22:23:55 -07:00
parent 9755318400
commit aafe3e2d21
12 changed files with 149 additions and 20 deletions

View file

@ -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
}

View file

@ -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 (