Documentation
¶
Index ¶
- func GetAllHandlers() []api.EventHandler
- type GuildCreateHandler
- type GuildDeleteHandler
- type GuildMemberAddHandler
- type GuildMemberRemoveHandler
- type GuildMemberUpdateHandler
- type GuildRoleCreateHandler
- type GuildRoleDeleteHandler
- type GuildRoleUpdateHandler
- type GuildUpdateHandler
- type InteractionCreateHandler
- type InteractionCreateWebhookHandler
- type MessageCreateHandler
- type ReadyHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllHandlers ¶
func GetAllHandlers() []api.EventHandler
GetAllHandlers returns all api.GatewayEventHandler(s)
Types ¶
type GuildCreateHandler ¶
type GuildCreateHandler struct{}
GuildCreateHandler handles api.GuildCreateGatewayEvent
func (GuildCreateHandler) Handle ¶
func (h GuildCreateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildCreateHandler) Name ¶
func (h GuildCreateHandler) Name() string
Name returns the raw gateway event name
func (GuildCreateHandler) New ¶
func (h GuildCreateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildDeleteHandler ¶
type GuildDeleteHandler struct{}
GuildDeleteHandler handles api.GuildDeleteGatewayEvent
func (GuildDeleteHandler) Handle ¶
func (h GuildDeleteHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildDeleteHandler) Name ¶
func (h GuildDeleteHandler) Name() string
Name returns the raw gateway event name
func (GuildDeleteHandler) New ¶
func (h GuildDeleteHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildMemberAddHandler ¶
type GuildMemberAddHandler struct{}
GuildMemberAddHandler handles api.GuildMemberAddGatewayEvent
func (GuildMemberAddHandler) Handle ¶
func (h GuildMemberAddHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildMemberAddHandler) Name ¶
func (h GuildMemberAddHandler) Name() string
Name returns the raw gateway event name
func (GuildMemberAddHandler) New ¶
func (h GuildMemberAddHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildMemberRemoveHandler ¶
type GuildMemberRemoveHandler struct{}
GuildMemberRemoveHandler handles api.GuildMemberRemoveGatewayEvent
func (GuildMemberRemoveHandler) Handle ¶
func (h GuildMemberRemoveHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildMemberRemoveHandler) Name ¶
func (h GuildMemberRemoveHandler) Name() string
Name returns the raw gateway event name
func (GuildMemberRemoveHandler) New ¶
func (h GuildMemberRemoveHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildMemberUpdateHandler ¶
type GuildMemberUpdateHandler struct{}
GuildMemberUpdateHandler handles api.GuildMemberUpdateGatewayEvent
func (GuildMemberUpdateHandler) Handle ¶
func (h GuildMemberUpdateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildMemberUpdateHandler) Name ¶
func (h GuildMemberUpdateHandler) Name() string
Name returns the raw gateway event name
func (GuildMemberUpdateHandler) New ¶
func (h GuildMemberUpdateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildRoleCreateHandler ¶
type GuildRoleCreateHandler struct{}
GuildRoleCreateHandler handles api.GuildRoleCreateGatewayEvent
func (GuildRoleCreateHandler) Handle ¶
func (h GuildRoleCreateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildRoleCreateHandler) Name ¶
func (h GuildRoleCreateHandler) Name() string
Name returns the raw gateway event name
func (GuildRoleCreateHandler) New ¶
func (h GuildRoleCreateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildRoleDeleteHandler ¶
type GuildRoleDeleteHandler struct{}
GuildRoleDeleteHandler handles api.GuildRoleDeleteGatewayEvent
func (GuildRoleDeleteHandler) Handle ¶
func (h GuildRoleDeleteHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildRoleDeleteHandler) Name ¶
func (h GuildRoleDeleteHandler) Name() string
Name returns the raw gateway event name
func (GuildRoleDeleteHandler) New ¶
func (h GuildRoleDeleteHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildRoleUpdateHandler ¶
type GuildRoleUpdateHandler struct{}
GuildRoleUpdateHandler handles api.GuildRoleUpdateGatewayEvent
func (GuildRoleUpdateHandler) Handle ¶
func (h GuildRoleUpdateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildRoleUpdateHandler) Name ¶
func (h GuildRoleUpdateHandler) Name() string
Name returns the raw gateway event name
func (GuildRoleUpdateHandler) New ¶
func (h GuildRoleUpdateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type GuildUpdateHandler ¶
type GuildUpdateHandler struct{}
GuildUpdateHandler handles api.GuildUpdateGatewayEvent
func (GuildUpdateHandler) Handle ¶
func (h GuildUpdateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (GuildUpdateHandler) Name ¶
func (h GuildUpdateHandler) Name() string
Name returns the raw gateway event name
func (GuildUpdateHandler) New ¶
func (h GuildUpdateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type InteractionCreateHandler ¶
type InteractionCreateHandler struct{}
InteractionCreateHandler handles api.InteractionCreateGatewayEvent
func (InteractionCreateHandler) Handle ¶
func (h InteractionCreateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (InteractionCreateHandler) Name ¶
func (h InteractionCreateHandler) Name() string
Name returns the raw gateway event name
func (InteractionCreateHandler) New ¶
func (h InteractionCreateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type InteractionCreateWebhookHandler ¶
type InteractionCreateWebhookHandler struct{}
InteractionCreateWebhookHandler handles api.InteractionCreateWebhookEvent
func (InteractionCreateWebhookHandler) Handle ¶
func (h InteractionCreateWebhookHandler) Handle(disgo api.Disgo, eventManager api.EventManager, c chan interface{}, i interface{})
Handle handles the specific raw gateway event
func (InteractionCreateWebhookHandler) Name ¶
func (h InteractionCreateWebhookHandler) Name() string
Name returns the raw gateway event name
func (InteractionCreateWebhookHandler) New ¶
func (h InteractionCreateWebhookHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type MessageCreateHandler ¶
type MessageCreateHandler struct{}
MessageCreateHandler handles api.MessageCreateGatewayEvent
func (MessageCreateHandler) Handle ¶
func (h MessageCreateHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (MessageCreateHandler) Name ¶
func (h MessageCreateHandler) Name() string
Name returns the raw gateway event name
func (MessageCreateHandler) New ¶
func (h MessageCreateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type ReadyHandler ¶
type ReadyHandler struct{}
ReadyHandler handles api.ReadyGatewayEvent
func (ReadyHandler) Handle ¶
func (h ReadyHandler) Handle(disgo api.Disgo, eventManager api.EventManager, i interface{})
Handle handles the specific raw gateway event
func (ReadyHandler) Name ¶
func (h ReadyHandler) Name() string
Name returns the raw gateway event name
func (ReadyHandler) New ¶
func (h ReadyHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
Source Files
¶
- all_handlers.go
- guild_create_handler.go
- guild_delete_handler.go
- guild_member_add_handler.go
- guild_member_remove_handler.go
- guild_member_update_handler.go
- guild_role_create_handler.go
- guild_role_delete_handler.go
- guild_role_update_handler.go
- guild_update_handler.go
- interaction_create_handler.go
- interaction_create_webhook_handler.go
- message_create_handler.go
- ready_handler.go