func NewInviteSettings(opts ...InviteSetting) *InviteSettings {
	s := &InviteSettings{}
	for _, opt := range opts {
		opt(s)
	}
	return s
}
NewInviteSettings returns new InviteSettings to create an invite.
package discord
import (
	"time"
	"github.com/skwair/harmony/optional"
)
type InviteSettings struct {
	MaxAge    *optional.Int  `json:"max_age,omitempty"`
	MaxUses   *optional.Int  `json:"max_uses,omitempty"`
	Temporary *optional.Bool `json:"temporary,omitempty"`
	Unique    *optional.Bool `json:"unique,omitempty"`
}
type InviteSetting func(*InviteSettings)