irl testing pass
This commit is contained in:
parent
dfbb9e2bca
commit
02f5075d3b
5 changed files with 21 additions and 8 deletions
|
@ -13,14 +13,14 @@ import (
|
|||
|
||||
type Interactions struct {
|
||||
PublicKey ed25519.PublicKey
|
||||
Guilds discord.IGuildService
|
||||
Guilds *discord.GuildService
|
||||
Router *InteractionRouter
|
||||
|
||||
// if interactions are able to be used
|
||||
OK bool
|
||||
}
|
||||
|
||||
func NewInteractions(publicKey string, guildsService discord.IGuildService) *Interactions {
|
||||
func NewInteractions(publicKey string, guildsService *discord.GuildService) *Interactions {
|
||||
return &Interactions{
|
||||
PublicKey: ed25519.PublicKey(publicKey),
|
||||
Guilds: guildsService,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue