# Functions
AllMemberChunkingFilters is a shorthand for MemberChunkingFilter.And(MemberChunkingFilter).And(MemberChunkingFilter) etc.
AnyMemberChunkingFilter is a shorthand for MemberChunkingFilter.Or(MemberChunkingFilter).Or(MemberChunkingFilter) etc.
BuildClient creates a new Client instance with the given token, Config, gateway handlers, http handlers os, name, github & version.
DefaultConfig returns a Config with sensible defaults.
DefaultEventManagerConfig returns a new EventManagerConfig with all default values.
MemberChunkingFilterAll is a MemberChunkingFilter which includes all guilds.
MemberChunkingFilterDefault is the default MemberChunkingFilter.
MemberChunkingFilterExcludeGuildIDs returns a MemberChunkingFilter which excludes the given guildIDs.
MemberChunkingFilterIncludeGuildIDs returns a MemberChunkingFilter which includes the given guildIDs.
MemberChunkingFilterNone is a MemberChunkingFilter which excludes all guilds.
NewEventCollector returns a channel in which the events of type T gets sent which pass the passed filter and a function which can be used to stop the event collector.
NewEventManager returns a new EventManager with the EventManagerConfigOpt(s) applied.
NewGatewayEventHandler returns a new GatewayEventHandler for the given GatewayEventType and handler func.
NewListenerChan returns a new EventListener for the given chan<- Event.
NewListenerFunc returns a new EventListener for the given func(e E).
NewMemberChunkingManager returns a new MemberChunkingManager with the given MemberChunkingFilter.
WaitForEvent waits for an event passing the filterFunc and then calls the actionFunc.
WithAsyncEventsEnabled enables/disables the async events.
WithCacheConfigOpts lets you configure the default cache.Caches.
WithCaches lets you inject your own cache.Caches.
WithDefaultGateway creates a gateway.Gateway with sensible defaults.
WithDefaultShardManager creates a sharding.ShardManager with sensible defaults.
WithEventListenerChan adds the given chan<- E to the default EventManager.
WithEventListenerFunc adds the given func(e E) to the default EventManager.
WithEventListeners adds the given EventListener(s) to the default EventManager.
WithEventManager lets you inject your own EventManager.
WithEventManagerConfigOpts lets you configure the default EventManager.
WithEventManagerLogger overrides the default logger in the EventManagerConfig.
WithGateway lets you inject your own gateway.Gateway.
WithGatewayConfigOpts lets you configure the default gateway.Gateway.
WithGatewayHandlers overrides the default GatewayEventHandler(s) in the EventManagerConfig.
WithHTTPServer lets you inject your own httpserver.Server.
WithHTTPServerConfigOpts lets you configure the default httpserver.Server.
WithHTTPServerHandler overrides the given HTTPServerEventHandler in the EventManagerConfig.
WithListenerChan adds the given chan<- E to the EventManagerConfig.
WithListenerFunc adds the given func(e E) to the EventManagerConfig.
WithListeners adds the given EventListener(s) to the EventManagerConfig.
WithLogger lets you inject your own logger implementing *slog.Logger.
WithMemberChunkingFilter lets you configure the default MemberChunkingFilter.
WithMemberChunkingManager lets you inject your own MemberChunkingManager.
WithRest lets you inject your own rest.Rest.
WithRestClient lets you inject your own rest.Client.
WithRestClientConfigOpts let's you configure the default rest.Client.
WithShardManager lets you inject your own sharding.ShardManager.
WithShardManagerConfigOpts lets you configure the default sharding.ShardManager.
# Variables
No description provided by the author
# Structs
Config lets you configure your Client instance.
EventManagerConfig can be used to configure the EventManager.
# Interfaces
Client is a high level interface for interacting with Discord's API.
Event the basic interface each event implement.
EventListener is used to create new EventListener to listen to events.
EventManager lets you listen for specific events triggered by raw gateway events.
GatewayEventHandler is used to handle Gateway Event(s).
HTTPServerEventHandler is used to handle HTTP Event(s).
MemberChunkingManager is used to request members for guilds from the discord gateway.
# Type aliases
ConfigOpt is a type alias for a function that takes a Config and is used to configure your Client.
EventManagerConfigOpt is a functional option for configuring an EventManager.
MemberChunkingFilter is a filter that can be used to filter from which guilds to request members from.