Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGatewayEventHandlerFunc ¶ added in v0.13.3
func DefaultGatewayEventHandlerFunc(client bot.Client) gateway.EventHandlerFunc
DefaultGatewayEventHandlerFunc is the default handler for the gateway.Gateway and sends payloads to the bot.EventManager.
func DefaultHTTPServerEventHandlerFunc ¶ added in v0.13.3
func DefaultHTTPServerEventHandlerFunc(client bot.Client) httpserver.EventHandlerFunc
DefaultHTTPServerEventHandlerFunc is the default handler for the httpserver.Server and sends payloads to the bot.EventManager.
func GetGatewayHandlers ¶
func GetGatewayHandlers() map[gateway.EventType]bot.GatewayEventHandler
GetGatewayHandlers returns the default gateway.Gateway event handlers for processing the raw payload which gets passed into the bot.EventManager
func GetHTTPServerHandler ¶
func GetHTTPServerHandler() bot.HTTPServerEventHandler
GetHTTPServerHandler returns the default httpserver.Server event handler for processing the raw payload which gets passed into the bot.EventManager
Types ¶
This section is empty.
Source Files ¶
- all_handlers.go
- application_command_permissions_update_handler.go
- channel_handler.go
- guild_auto_moderation_rule_handler.go
- guild_ban_handlers.go
- guild_create_handler.go
- guild_delete_handler.go
- guild_emojis_update_handler.go
- guild_integrations_update_handler.go
- guild_member_handlers.go
- guild_role_handlers.go
- guild_scheduled_event_handlers.go
- guild_stickers_update_handler.go
- guild_update_handler.go
- integration_handlers.go
- interaction_create_handler.go
- interaction_create_http_handler.go
- invite_handlers.go
- message_handler.go
- message_reaction_handler.go
- presence_update_handler.go
- stage_instance_handler.go
- status_handler.go
- thread_handler.go
- typing_start_handler.go
- user_update_handler.go
- voice_handlers.go
- webhooks_update_handler.go
Click to show internal directories.
Click to hide internal directories.