fix integration, test more stuff

This commit is contained in:
41666 2025-03-26 23:10:30 -07:00
parent c50bfc1a7f
commit 7b8cdcfd7b
11 changed files with 147 additions and 51 deletions

View file

@ -27,7 +27,6 @@ type Interactions struct {
}
func NewInteractions(publicKey string, publicBaseURL string, guildsService *discord.GuildService) *Interactions {
return &Interactions{
PublicKey: ed25519.PublicKey(publicKey),
PublicBaseURL: publicBaseURL,
@ -41,6 +40,7 @@ func (i *Interactions) Routes(r fiber.Router) {
r.Post("/", i.PostHandler)
i.Router.Add("hello-world", i.CmdHelloWorld)
i.Router.Add("roleypoly", i.CmdRoleypoly)
}
func (i *Interactions) PostHandler(c fiber.Ctx) error {