Documentation ¶
Index ¶
- type CustomBotsHandler
- func (h *CustomBotsHandler) HandleConfigureCustomBot(c *fiber.Ctx, req wire.CustomBotConfigureRequestWire) error
- func (h *CustomBotsHandler) HandleCreateCustomCommand(c *fiber.Ctx, req wire.CustomCommandCreateRequestWire) error
- func (h *CustomBotsHandler) HandleCustomBotInteraction(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleDeleteCustomCommand(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleDeployCustomCommands(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleDisableCustomBot(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleGetCustomBot(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleGetCustomCommand(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleListCustomCommands(c *fiber.Ctx) error
- func (h *CustomBotsHandler) HandleUpdateCustomBotPresence(c *fiber.Ctx, req wire.CustomBotUpdatePresenceRequestWire) error
- func (h *CustomBotsHandler) HandleUpdateCustomCommand(c *fiber.Ctx, req wire.CustomCommandUpdateRequestWire) error
- type NameCollisionError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomBotsHandler ¶
type CustomBotsHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(pg *postgres.PostgresStore, bot *bot.Bot, am *access.AccessManager, pm *premium.PremiumManager, actionParser *parser.ActionParser) *CustomBotsHandler
func (*CustomBotsHandler) HandleConfigureCustomBot ¶
func (h *CustomBotsHandler) HandleConfigureCustomBot(c *fiber.Ctx, req wire.CustomBotConfigureRequestWire) error
func (*CustomBotsHandler) HandleCreateCustomCommand ¶
func (h *CustomBotsHandler) HandleCreateCustomCommand(c *fiber.Ctx, req wire.CustomCommandCreateRequestWire) error
func (*CustomBotsHandler) HandleCustomBotInteraction ¶
func (h *CustomBotsHandler) HandleCustomBotInteraction(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleDeleteCustomCommand ¶
func (h *CustomBotsHandler) HandleDeleteCustomCommand(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleDeployCustomCommands ¶
func (h *CustomBotsHandler) HandleDeployCustomCommands(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleDisableCustomBot ¶
func (h *CustomBotsHandler) HandleDisableCustomBot(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleGetCustomBot ¶
func (h *CustomBotsHandler) HandleGetCustomBot(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleGetCustomCommand ¶
func (h *CustomBotsHandler) HandleGetCustomCommand(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleListCustomCommands ¶
func (h *CustomBotsHandler) HandleListCustomCommands(c *fiber.Ctx) error
func (*CustomBotsHandler) HandleUpdateCustomBotPresence ¶
func (h *CustomBotsHandler) HandleUpdateCustomBotPresence(c *fiber.Ctx, req wire.CustomBotUpdatePresenceRequestWire) error
func (*CustomBotsHandler) HandleUpdateCustomCommand ¶
func (h *CustomBotsHandler) HandleUpdateCustomCommand(c *fiber.Ctx, req wire.CustomCommandUpdateRequestWire) error
type NameCollisionError ¶
type NameCollisionError struct { FirstName string `json:"first_name"` SecondName string `json:"second_name"` }
func (*NameCollisionError) Error ¶
func (e *NameCollisionError) Error() string
Click to show internal directories.
Click to hide internal directories.