handlers

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 ApplicationCommandCreateHandler added in v0.2.0

type ApplicationCommandCreateHandler struct{}

ApplicationCommandCreateHandler handles api.ApplicationCommandCreateEvent

func (ApplicationCommandCreateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ApplicationCommandCreateHandler) HandleGatewayEvent added in v0.2.0

func (h ApplicationCommandCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ApplicationCommandCreateHandler) New added in v0.2.0

func (h ApplicationCommandCreateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type ApplicationCommandDeleteHandler added in v0.2.0

type ApplicationCommandDeleteHandler struct{}

ApplicationCommandDeleteHandler handles api.ApplicationCommandCreateEvent

func (ApplicationCommandDeleteHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ApplicationCommandDeleteHandler) HandleGatewayEvent added in v0.2.0

func (h ApplicationCommandDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ApplicationCommandDeleteHandler) New added in v0.2.0

func (h ApplicationCommandDeleteHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type ApplicationCommandUpdateHandler added in v0.2.0

type ApplicationCommandUpdateHandler struct{}

ApplicationCommandUpdateHandler handles api.ApplicationCommandCreateEvent

func (ApplicationCommandUpdateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ApplicationCommandUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h ApplicationCommandUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ApplicationCommandUpdateHandler) New added in v0.2.0

func (h ApplicationCommandUpdateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type ChannelCreateHandler added in v0.2.0

type ChannelCreateHandler struct{}

ChannelCreateHandler handles api.GatewayEventChannelCreate

func (ChannelCreateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ChannelCreateHandler) HandleGatewayEvent added in v0.2.0

func (h ChannelCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ChannelCreateHandler) New added in v0.2.0

func (h ChannelCreateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type ChannelDeleteHandler added in v0.2.0

type ChannelDeleteHandler struct{}

ChannelDeleteHandler handles api.GatewayEventChannelDelete

func (ChannelDeleteHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ChannelDeleteHandler) HandleGatewayEvent added in v0.2.0

func (h ChannelDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ChannelDeleteHandler) New added in v0.2.0

func (h ChannelDeleteHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type ChannelUpdateHandler added in v0.2.0

type ChannelUpdateHandler struct{}

ChannelUpdateHandler handles api.GatewayEventChannelUpdate

func (ChannelUpdateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (ChannelUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h ChannelUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ChannelUpdateHandler) New added in v0.2.0

func (h ChannelUpdateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type GuildCreateHandler

type GuildCreateHandler struct{}

GuildCreateHandler handles api.GuildCreateGatewayEvent

func (GuildCreateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildCreateHandler) HandleGatewayEvent added in v0.2.0

func (h GuildCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildDeleteHandler) HandleGatewayEvent added in v0.2.0

func (h GuildDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildMemberAddHandler) HandleGatewayEvent added in v0.2.0

func (h GuildMemberAddHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildMemberRemoveHandler) HandleGatewayEvent added in v0.2.0

func (h GuildMemberRemoveHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildMemberUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h GuildMemberUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildRoleCreateHandler) HandleGatewayEvent added in v0.2.0

func (h GuildRoleCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildRoleDeleteHandler) HandleGatewayEvent added in v0.2.0

func (h GuildRoleDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildRoleUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h GuildRoleUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (GuildUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h GuildUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (InteractionCreateHandler) HandleGatewayEvent added in v0.2.0

func (h InteractionCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (InteractionCreateWebhookHandler) HandleWebhookEvent added in v0.2.0

func (h InteractionCreateWebhookHandler) HandleWebhookEvent(disgo api.Disgo, eventManager api.EventManager, c chan *api.InteractionResponse, i interface{})

HandleWebhookEvent handles the specific raw gateway event

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) Event added in v0.2.0

Event returns the raw gateway event Event

func (MessageCreateHandler) HandleGatewayEvent added in v0.2.0

func (h MessageCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

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) Event added in v0.2.0

func (h ReadyHandler) Event() api.GatewayEventType

Event returns the raw gateway event Event

func (ReadyHandler) HandleGatewayEvent added in v0.2.0

func (h ReadyHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (ReadyHandler) New

func (h ReadyHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type VoiceServerUpdateHandler added in v0.2.0

type VoiceServerUpdateHandler struct{}

VoiceServerUpdateHandler handles api.GatewayEventVoiceServerUpdate

func (VoiceServerUpdateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (VoiceServerUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h VoiceServerUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (VoiceServerUpdateHandler) New added in v0.2.0

func (h VoiceServerUpdateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

type VoiceStateUpdateHandler added in v0.2.0

type VoiceStateUpdateHandler struct{}

VoiceStateUpdateHandler handles api.VoiceStateUpdateGatewayEvent

func (VoiceStateUpdateHandler) Event added in v0.2.0

Event returns the raw gateway event Event

func (VoiceStateUpdateHandler) HandleGatewayEvent added in v0.2.0

func (h VoiceStateUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})

HandleGatewayEvent handles the specific raw gateway event

func (VoiceStateUpdateHandler) New added in v0.2.0

func (h VoiceStateUpdateHandler) New() interface{}

New constructs a new payload receiver for the raw gateway event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL