fix integration, test more stuff
This commit is contained in:
parent
c50bfc1a7f
commit
7b8cdcfd7b
11 changed files with 147 additions and 51 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue