Documentation
¶
Index ¶
- func GetAllHandlers() []api.EventHandler
- type ChannelCreateHandler
- type ChannelDeleteHandler
- type ChannelUpdateHandler
- type CommandCreateHandler
- type CommandDeleteHandler
- type CommandUpdateHandler
- 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 MessageDeleteHandler
- type MessageUpdateHandler
- type ReadyHandler
- type VoiceServerUpdateHandler
- type VoiceStateUpdateHandler
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 ChannelCreateHandler ¶ added in v0.2.0
type ChannelCreateHandler struct{}
ChannelCreateHandler handles api.GatewayEventChannelCreate
func (ChannelCreateHandler) Event ¶ added in v0.2.0
func (h ChannelCreateHandler) Event() api.GatewayEventType
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
func (h ChannelDeleteHandler) Event() api.GatewayEventType
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
func (h ChannelUpdateHandler) Event() api.GatewayEventType
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 CommandCreateHandler ¶ added in v0.4.0
type CommandCreateHandler struct{}
CommandCreateHandler handles api.CommandCreateEvent
func (CommandCreateHandler) Event ¶ added in v0.4.0
func (h CommandCreateHandler) Event() api.GatewayEventType
Event returns the raw gateway event Event
func (CommandCreateHandler) HandleGatewayEvent ¶ added in v0.4.0
func (h CommandCreateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})
HandleGatewayEvent handles the specific raw gateway event
func (CommandCreateHandler) New ¶ added in v0.4.0
func (h CommandCreateHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type CommandDeleteHandler ¶ added in v0.4.0
type CommandDeleteHandler struct{}
CommandDeleteHandler handles api.CommandCreateEvent
func (CommandDeleteHandler) Event ¶ added in v0.4.0
func (h CommandDeleteHandler) Event() api.GatewayEventType
Event returns the raw gateway event Event
func (CommandDeleteHandler) HandleGatewayEvent ¶ added in v0.4.0
func (h CommandDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})
HandleGatewayEvent handles the specific raw gateway event
func (CommandDeleteHandler) New ¶ added in v0.4.0
func (h CommandDeleteHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type CommandUpdateHandler ¶ added in v0.4.0
type CommandUpdateHandler struct{}
CommandUpdateHandler handles api.CommandCreateEvent
func (CommandUpdateHandler) Event ¶ added in v0.4.0
func (h CommandUpdateHandler) Event() api.GatewayEventType
Event returns the raw gateway event Event
func (CommandUpdateHandler) HandleGatewayEvent ¶ added in v0.4.0
func (h CommandUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})
HandleGatewayEvent handles the specific raw gateway event
func (CommandUpdateHandler) New ¶ added in v0.4.0
func (h CommandUpdateHandler) 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
func (h GuildCreateHandler) Event() api.GatewayEventType
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
func (h GuildDeleteHandler) Event() api.GatewayEventType
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
func (h GuildMemberAddHandler) Event() api.GatewayEventType
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
func (h GuildMemberRemoveHandler) Event() api.GatewayEventType
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
func (h GuildMemberUpdateHandler) Event() api.GatewayEventType
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
func (h GuildRoleCreateHandler) Event() api.GatewayEventType
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
func (h GuildRoleDeleteHandler) Event() api.GatewayEventType
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
func (h GuildRoleUpdateHandler) Event() api.GatewayEventType
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
func (h GuildUpdateHandler) Event() api.GatewayEventType
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
func (h InteractionCreateHandler) Event() api.GatewayEventType
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
func (h InteractionCreateWebhookHandler) Event() api.GatewayEventType
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.GatewayEventMessageCreate
func (MessageCreateHandler) Event ¶ added in v0.2.0
func (h MessageCreateHandler) Event() api.GatewayEventType
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 MessageDeleteHandler ¶ added in v0.4.0
type MessageDeleteHandler struct{}
MessageDeleteHandler handles api.GatewayEventMessageDelete
func (MessageDeleteHandler) Event ¶ added in v0.4.0
func (h MessageDeleteHandler) Event() api.GatewayEventType
Event returns the raw gateway event Event
func (MessageDeleteHandler) HandleGatewayEvent ¶ added in v0.4.0
func (h MessageDeleteHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})
HandleGatewayEvent handles the specific raw gateway event
func (MessageDeleteHandler) New ¶ added in v0.4.0
func (h MessageDeleteHandler) New() interface{}
New constructs a new payload receiver for the raw gateway event
type MessageUpdateHandler ¶ added in v0.4.0
type MessageUpdateHandler struct{}
MessageUpdateHandler handles api.GatewayEventMessageUpdate
func (MessageUpdateHandler) Event ¶ added in v0.4.0
func (h MessageUpdateHandler) Event() api.GatewayEventType
Event returns the raw gateway event Event
func (MessageUpdateHandler) HandleGatewayEvent ¶ added in v0.4.0
func (h MessageUpdateHandler) HandleGatewayEvent(disgo api.Disgo, eventManager api.EventManager, sequenceNumber int, i interface{})
HandleGatewayEvent handles the specific raw gateway event
func (MessageUpdateHandler) New ¶ added in v0.4.0
func (h MessageUpdateHandler) 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
func (h VoiceServerUpdateHandler) Event() api.GatewayEventType
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
func (h VoiceStateUpdateHandler) Event() api.GatewayEventType
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
Source Files
¶
- all_handlers.go
- application_command_create.go
- application_command_delete.go
- application_command_update.go
- channel_create_handler.go
- channel_delete_handler.go
- channel_pins_update_handler.go
- channel_update_handler.go
- guild_ban_add_handler.go
- guild_ban_remove_handler.go
- guild_create_handler.go
- guild_delete_handler.go
- guild_emojis_update_handler.go
- guild_integrations_update.go
- guild_member_add_handler.go
- guild_member_chunk.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
- invite_create_handler.go
- invite_delete_handler.go
- message_create_handler.go
- message_delete_bulk_handler.go
- message_delete_handler.go
- message_reaction_add_handler.go
- message_reaction_remove_all_handler.go
- message_reaction_remove_emoji_handler.go
- message_reaction_remove_handler.go
- message_update_handler.go
- presence_update_handler.go
- ready_handler.go
- typing_start_handler.go
- user_update_handler.go
- voice_server_update_handler.go
- voice_state_update_handler.go
- webhooks_update_handler.go