Documentation ¶
Index ¶
- func RegisterCacheListeners(sm *ShardManager)
- type Hooks
- type Shard
- func (s *Shard) AddGuildMemberRole(ctx context.Context, guildId, userId, roleId uint64) error
- func (s *Shard) AddPinnedChannelMessage(ctx context.Context, channelId, messageId uint64) error
- func (s *Shard) AddThreadMember(ctx context.Context, channelId, userId uint64) error
- func (s *Shard) BeginGuildPrune(ctx context.Context, guildId uint64, days int, computePruneCount bool) error
- func (s *Shard) BulkDeleteMessages(ctx context.Context, channelId uint64, messages []uint64) error
- func (s *Shard) Connect() error
- func (s *Shard) CountdownHeartbeat(ticker *time.Ticker)
- func (s *Shard) CreateChannelInvite(ctx context.Context, channelId uint64, data rest.CreateInviteData) (invite.Invite, error)
- func (s *Shard) CreateDM(ctx context.Context, recipientId uint64) (channel.Channel, error)
- func (s *Shard) CreateGlobalCommand(ctx context.Context, applicationId uint64, data rest.CreateCommandData) (interaction.ApplicationCommand, error)
- func (s *Shard) CreateGuild(ctx context.Context, data rest.CreateGuildData) (guild.Guild, error)
- func (s *Shard) CreateGuildBan(ctx context.Context, guildId, userId uint64, data rest.CreateGuildBanData) error
- func (s *Shard) CreateGuildChannel(ctx context.Context, guildId uint64, data rest.CreateChannelData) (channel.Channel, error)
- func (s *Shard) CreateGuildCommand(ctx context.Context, applicationId, guildId uint64, ...) (interaction.ApplicationCommand, error)
- func (s *Shard) CreateGuildEmoji(ctx context.Context, guildId uint64, data rest.CreateEmojiData) (emoji.Emoji, error)
- func (s *Shard) CreateGuildIntegration(ctx context.Context, guildId uint64, data rest.CreateIntegrationData) error
- func (s *Shard) CreateGuildRole(ctx context.Context, guildId uint64, data rest.GuildRoleData) (guild.Role, error)
- func (s *Shard) CreateMessage(ctx context.Context, channelId uint64, content string) (message.Message, error)
- func (s *Shard) CreateMessageComplex(ctx context.Context, channelId uint64, data rest.CreateMessageData) (message.Message, error)
- func (s *Shard) CreateMessageEmbed(ctx context.Context, channelId uint64, embed ...*embed.Embed) (message.Message, error)
- func (s *Shard) CreateMessageEmbedReply(ctx context.Context, channelId uint64, e *embed.Embed, ...) (message.Message, error)
- func (s *Shard) CreateMessageReply(ctx context.Context, channelId uint64, content string, ...) (message.Message, error)
- func (s *Shard) CreatePrivateThread(ctx context.Context, channelId uint64, name string, autoArchiveDuration uint16, ...) (channel.Channel, error)
- func (s *Shard) CreatePublicThread(ctx context.Context, channelId uint64, name string, autoArchiveDuration uint16) (channel.Channel, error)
- func (s *Shard) CreateReaction(ctx context.Context, channelId, messageId uint64, emoji string) error
- func (s *Shard) CreateWebhook(ctx context.Context, channelId uint64, data rest.WebhookData) (guild.Webhook, error)
- func (s *Shard) DeleteAllReactions(ctx context.Context, channelId, messageId uint64) error
- func (s *Shard) DeleteAllReactionsEmoji(ctx context.Context, channelId, messageId uint64, emoji string) error
- func (s *Shard) DeleteChannel(ctx context.Context, channelId uint64) (channel.Channel, error)
- func (s *Shard) DeleteChannelPermissions(ctx context.Context, channelId, overwriteId uint64) error
- func (s *Shard) DeleteGlobalCommand(ctx context.Context, applicationId, commandId uint64) error
- func (s *Shard) DeleteGuild(ctx context.Context, guildId uint64) error
- func (s *Shard) DeleteGuildCommand(ctx context.Context, applicationId, guildId, commandId uint64) error
- func (s *Shard) DeleteGuildIntegration(ctx context.Context, guildId, integrationId uint64) error
- func (s *Shard) DeleteGuildRole(ctx context.Context, guildId, roleId uint64) error
- func (s *Shard) DeleteInvite(ctx context.Context, inviteCode string) (invite.Invite, error)
- func (s *Shard) DeleteMessage(ctx context.Context, channelId, messageId uint64) error
- func (s *Shard) DeleteOwnReaction(ctx context.Context, channelId, messageId uint64, emoji string) error
- func (s *Shard) DeletePinnedChannelMessage(ctx context.Context, channelId, messageId uint64) error
- func (s *Shard) DeleteUserReaction(ctx context.Context, channelId, messageId, userId uint64, emoji string) error
- func (s *Shard) DeleteWebhook(ctx context.Context, webhookId uint64) error
- func (s *Shard) EditBulkCommandPermissions(ctx context.Context, applicationId, guildId uint64, ...) ([]rest.CommandWithPermissionsData, error)
- func (s *Shard) EditChannelPermissions(ctx context.Context, channelId uint64, updated channel.PermissionOverwrite) error
- func (s *Shard) EditCommandPermissions(ctx context.Context, applicationId, guildId, commandId uint64, ...) (rest.CommandWithPermissionsData, error)
- func (s *Shard) EditMessage(ctx context.Context, channelId, messageId uint64, data rest.EditMessageData) (message.Message, error)
- func (s *Shard) EditWebhookMessage(ctx context.Context, webhookId uint64, webhookToken string, messageId uint64, ...) (message.Message, error)
- func (s *Shard) EnsureConnect()
- func (s *Shard) ExecuteEvent(eventType events.EventType, data json.RawMessage)
- func (s *Shard) ExecuteWebhook(ctx context.Context, webhookId uint64, webhookToken string, wait bool, ...) (*message.Message, error)
- func (s *Shard) GetBulkCommandPermissions(ctx context.Context, applicationId, guildId uint64) ([]rest.CommandWithPermissionsData, error)
- func (s *Shard) GetChannel(ctx context.Context, channelId uint64) (channel.Channel, error)
- func (s *Shard) GetChannelInvites(ctx context.Context, channelId uint64) ([]invite.InviteMetadata, error)
- func (s *Shard) GetChannelMessage(ctx context.Context, channelId, messageId uint64) (message.Message, error)
- func (s *Shard) GetChannelMessages(ctx context.Context, channelId uint64, options rest.GetChannelMessagesData) ([]message.Message, error)
- func (s *Shard) GetChannelWebhooks(ctx context.Context, channelId uint64) ([]guild.Webhook, error)
- func (s *Shard) GetCommandPermissions(ctx context.Context, applicationId, guildId, commandId uint64) (rest.CommandWithPermissionsData, error)
- func (s *Shard) GetCurrentUser(ctx context.Context) (user.User, error)
- func (s *Shard) GetCurrentUserGuilds(ctx context.Context, data rest.CurrentUserGuildsData) ([]guild.Guild, error)
- func (s *Shard) GetGlobalCommands(ctx context.Context, applicationId uint64) ([]interaction.ApplicationCommand, error)
- func (s *Shard) GetGuild(ctx context.Context, guildId uint64) (guild.Guild, error)
- func (s *Shard) GetGuildAuditLog(ctx context.Context, guildId uint64, data rest.GetGuildAuditLogData) (auditlog.AuditLog, error)
- func (s *Shard) GetGuildBan(ctx context.Context, guildId, userId uint64) (guild.Ban, error)
- func (s *Shard) GetGuildBans(ctx context.Context, guildId uint64, data rest.GetGuildBansData) ([]guild.Ban, error)
- func (s *Shard) GetGuildChannels(ctx context.Context, guildId uint64) ([]channel.Channel, error)
- func (s *Shard) GetGuildCommands(ctx context.Context, applicationId, guildId uint64) ([]interaction.ApplicationCommand, error)
- func (s *Shard) GetGuildEmoji(ctx context.Context, guildId uint64, emojiId uint64) (emoji.Emoji, error)
- func (s *Shard) GetGuildIntegrations(ctx context.Context, guildId uint64) ([]integration.Integration, error)
- func (s *Shard) GetGuildInvites(ctx context.Context, guildId uint64) ([]invite.InviteMetadata, error)
- func (s *Shard) GetGuildMember(ctx context.Context, guildId, userId uint64) (member.Member, error)
- func (s *Shard) GetGuildPreview(ctx context.Context, guildId uint64) (guild.GuildPreview, error)
- func (s *Shard) GetGuildPruneCount(ctx context.Context, guildId uint64, days int) (int, error)
- func (s *Shard) GetGuildRoles(ctx context.Context, guildId uint64) ([]guild.Role, error)
- func (s *Shard) GetGuildVanityUrl(ctx context.Context, guildId uint64) (invite.Invite, error)
- func (s *Shard) GetGuildVoiceRegions(ctx context.Context, guildId uint64) ([]guild.VoiceRegion, error)
- func (s *Shard) GetGuildWebhooks(ctx context.Context, guildId uint64) ([]guild.Webhook, error)
- func (s *Shard) GetGuildWidget(ctx context.Context, guildId uint64) (guild.GuildWidget, error)
- func (s *Shard) GetInvite(ctx context.Context, inviteCode string, withCounts bool) (invite.Invite, error)
- func (s *Shard) GetPinnedMessages(ctx context.Context, channelId uint64) ([]message.Message, error)
- func (s *Shard) GetReactions(ctx context.Context, channelId, messageId uint64, emoji string, ...) ([]user.User, error)
- func (s *Shard) GetThreadMember(ctx context.Context, channelId, userId uint64) (channel.ThreadMember, error)
- func (s *Shard) GetUser(ctx context.Context, userId uint64) (user.User, error)
- func (s *Shard) GetUserConnections(ctx context.Context) ([]integration.Connection, error)
- func (s *Shard) GetWebhook(ctx context.Context, webhookId uint64) (guild.Webhook, error)
- func (s *Shard) Heartbeat() error
- func (s *Shard) HeartbeatLatency() int64
- func (s *Shard) JoinThread(ctx context.Context, channelId uint64) error
- func (s *Shard) Kill() error
- func (s *Shard) LeaveGuild(ctx context.Context, guildId uint64) error
- func (s *Shard) LeaveThread(ctx context.Context, channelId uint64) error
- func (s *Shard) ListActiveThreads(ctx context.Context, guildId uint64) (rest.ThreadsResponse, error)
- func (s *Shard) ListGuildEmojis(ctx context.Context, guildId uint64) ([]emoji.Emoji, error)
- func (s *Shard) ListGuildMembers(ctx context.Context, guildId uint64, data rest.ListGuildMembersData) ([]member.Member, error)
- func (s *Shard) ListJoinedPrivateArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
- func (s *Shard) ListPrivateArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
- func (s *Shard) ListPublicArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
- func (s *Shard) ListThreadMembers(ctx context.Context, channelId uint64) ([]channel.ThreadMember, error)
- func (s *Shard) ListVoiceRegions(ctx context.Context) ([]guild.VoiceRegion, error)
- func (s *Shard) ModifyChannel(ctx context.Context, channelId uint64, data rest.ModifyChannelData) (channel.Channel, error)
- func (s *Shard) ModifyCurrentUser(ctx context.Context, data rest.ModifyUserData) (user.User, error)
- func (s *Shard) ModifyCurrentUserNick(ctx context.Context, guildId uint64, nick string) error
- func (s *Shard) ModifyGlobalCommand(ctx context.Context, applicationId, commandId uint64, ...) (interaction.ApplicationCommand, error)
- func (s *Shard) ModifyGlobalCommands(ctx context.Context, applicationId uint64, data []rest.CreateCommandData) ([]interaction.ApplicationCommand, error)
- func (s *Shard) ModifyGuild(ctx context.Context, guildId uint64, data rest.ModifyGuildData) (guild.Guild, error)
- func (s *Shard) ModifyGuildChannelPositions(ctx context.Context, guildId uint64, positions []rest.Position) error
- func (s *Shard) ModifyGuildCommand(ctx context.Context, applicationId, guildId, commandId uint64, ...) (interaction.ApplicationCommand, error)
- func (s *Shard) ModifyGuildCommands(ctx context.Context, applicationId, guildId uint64, ...) ([]interaction.ApplicationCommand, error)
- func (s *Shard) ModifyGuildEmbed(ctx context.Context, guildId uint64, data guild.GuildEmbed) (guild.GuildEmbed, error)
- func (s *Shard) ModifyGuildEmoji(ctx context.Context, guildId, emojiId uint64, data rest.CreateEmojiData) (emoji.Emoji, error)
- func (s *Shard) ModifyGuildIntegration(ctx context.Context, guildId, integrationId uint64, ...) error
- func (s *Shard) ModifyGuildMember(ctx context.Context, guildId, userId uint64, data rest.ModifyGuildMemberData) error
- func (s *Shard) ModifyGuildRole(ctx context.Context, guildId, roleId uint64, data rest.GuildRoleData) (guild.Role, error)
- func (s *Shard) ModifyGuildRolePositions(ctx context.Context, guildId uint64, positions []rest.Position) ([]guild.Role, error)
- func (s *Shard) ModifyWebhook(ctx context.Context, webhookId uint64, data rest.ModifyWebhookData) (guild.Webhook, error)
- func (s *Shard) RemoveGuildBan(ctx context.Context, guildId, userId uint64) error
- func (s *Shard) RemoveGuildMember(ctx context.Context, guildId, userId uint64) error
- func (s *Shard) RemoveGuildMemberRole(ctx context.Context, guildId, userId, roleId uint64) error
- func (s *Shard) RemoveThreadMember(ctx context.Context, channelId, userId uint64) error
- func (s *Shard) SearchGuildMembers(ctx context.Context, guildId uint64, data rest.SearchGuildMembersData) ([]member.Member, error)
- func (s *Shard) SelfAvatar(size int) string
- func (s *Shard) SelfId() uint64
- func (s *Shard) SelfUsername() string
- func (s *Shard) StartThreadWithMessage(ctx context.Context, channelId, messageId uint64, ...) (channel.Channel, error)
- func (s *Shard) StartThreadWithoutMessage(ctx context.Context, channelId, messageId uint64, ...) (channel.Channel, error)
- func (s *Shard) SyncGuildIntegration(ctx context.Context, guildId, integrationId uint64) error
- func (s *Shard) TriggerTypingIndicator(ctx context.Context, channelId uint64) error
- func (s *Shard) UpdateStatus(data user.UpdateStatus) error
- type ShardCount
- type ShardManager
- type ShardOptions
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCacheListeners ¶
func RegisterCacheListeners(sm *ShardManager)
Types ¶
type Shard ¶
type Shard struct { ShardManager *ShardManager Token string ShardId int WebSocket *websocket.Conn Cache cache.Cache // contains filtered or unexported fields }
func (*Shard) AddGuildMemberRole ¶
func (*Shard) AddPinnedChannelMessage ¶
func (*Shard) AddThreadMember ¶
func (*Shard) BeginGuildPrune ¶
func (s *Shard) BeginGuildPrune(ctx context.Context, guildId uint64, days int, computePruneCount bool) error
computePruneCount = whether 'pruned' is returned, discouraged for large guilds
func (*Shard) BulkDeleteMessages ¶
func (*Shard) CountdownHeartbeat ¶
func (*Shard) CreateChannelInvite ¶
func (*Shard) CreateGlobalCommand ¶
func (s *Shard) CreateGlobalCommand(ctx context.Context, applicationId uint64, data rest.CreateCommandData) (interaction.ApplicationCommand, error)
func (*Shard) CreateGuild ¶
func (*Shard) CreateGuildBan ¶
func (*Shard) CreateGuildChannel ¶
func (*Shard) CreateGuildCommand ¶
func (s *Shard) CreateGuildCommand(ctx context.Context, applicationId, guildId uint64, data rest.CreateCommandData) (interaction.ApplicationCommand, error)
func (*Shard) CreateGuildEmoji ¶
func (*Shard) CreateGuildIntegration ¶
func (*Shard) CreateGuildRole ¶
func (*Shard) CreateMessage ¶
func (*Shard) CreateMessageComplex ¶
func (*Shard) CreateMessageEmbed ¶
func (*Shard) CreateMessageEmbedReply ¶
func (*Shard) CreateMessageReply ¶
func (*Shard) CreatePrivateThread ¶
func (*Shard) CreatePublicThread ¶
func (*Shard) CreateReaction ¶
func (*Shard) CreateWebhook ¶
func (*Shard) DeleteAllReactions ¶
func (*Shard) DeleteAllReactionsEmoji ¶
func (*Shard) DeleteChannel ¶
func (*Shard) DeleteChannelPermissions ¶
func (*Shard) DeleteGlobalCommand ¶
func (*Shard) DeleteGuildCommand ¶
func (*Shard) DeleteGuildIntegration ¶
func (*Shard) DeleteGuildRole ¶
func (*Shard) DeleteInvite ¶
func (*Shard) DeleteMessage ¶
func (*Shard) DeleteOwnReaction ¶
func (*Shard) DeletePinnedChannelMessage ¶
func (*Shard) DeleteUserReaction ¶
func (*Shard) DeleteWebhook ¶
func (*Shard) EditBulkCommandPermissions ¶
func (s *Shard) EditBulkCommandPermissions(ctx context.Context, applicationId, guildId uint64, data []rest.CommandWithPermissionsData) ([]rest.CommandWithPermissionsData, error)
func (*Shard) EditChannelPermissions ¶
func (*Shard) EditCommandPermissions ¶
func (s *Shard) EditCommandPermissions(ctx context.Context, applicationId, guildId, commandId uint64, data rest.CommandWithPermissionsData) (rest.CommandWithPermissionsData, error)
func (*Shard) EditMessage ¶
func (*Shard) EditWebhookMessage ¶
func (*Shard) EnsureConnect ¶
func (s *Shard) EnsureConnect()
func (*Shard) ExecuteEvent ¶
func (s *Shard) ExecuteEvent(eventType events.EventType, data json.RawMessage)
func (*Shard) ExecuteWebhook ¶
func (s *Shard) ExecuteWebhook(ctx context.Context, webhookId uint64, webhookToken string, wait bool, data rest.WebhookBody) (*message.Message, error)
if wait=true, a message object will be returned
func (*Shard) GetBulkCommandPermissions ¶
func (*Shard) GetChannel ¶
func (*Shard) GetChannelInvites ¶
func (*Shard) GetChannelMessage ¶
func (*Shard) GetChannelMessages ¶
func (*Shard) GetChannelWebhooks ¶
func (*Shard) GetCommandPermissions ¶
func (*Shard) GetCurrentUser ¶
func (*Shard) GetCurrentUserGuilds ¶
func (*Shard) GetGlobalCommands ¶
func (s *Shard) GetGlobalCommands(ctx context.Context, applicationId uint64) ([]interaction.ApplicationCommand, error)
func (*Shard) GetGuildAuditLog ¶
func (*Shard) GetGuildBan ¶
func (*Shard) GetGuildBans ¶
func (*Shard) GetGuildChannels ¶
func (*Shard) GetGuildCommands ¶
func (s *Shard) GetGuildCommands(ctx context.Context, applicationId, guildId uint64) ([]interaction.ApplicationCommand, error)
func (*Shard) GetGuildEmoji ¶
func (*Shard) GetGuildIntegrations ¶
func (s *Shard) GetGuildIntegrations(ctx context.Context, guildId uint64) ([]integration.Integration, error)
func (*Shard) GetGuildInvites ¶
func (*Shard) GetGuildMember ¶
func (*Shard) GetGuildPreview ¶
func (*Shard) GetGuildPruneCount ¶
func (*Shard) GetGuildRoles ¶
func (*Shard) GetGuildVanityUrl ¶
returns invite object with only "code" and "uses" fields
func (*Shard) GetGuildVoiceRegions ¶
func (*Shard) GetGuildWebhooks ¶
func (*Shard) GetGuildWidget ¶
func (*Shard) GetPinnedMessages ¶
func (*Shard) GetReactions ¶
func (*Shard) GetThreadMember ¶
func (*Shard) GetUserConnections ¶
func (s *Shard) GetUserConnections(ctx context.Context) ([]integration.Connection, error)
func (*Shard) GetWebhook ¶
func (*Shard) LeaveThread ¶
func (*Shard) ListActiveThreads ¶
func (*Shard) ListGuildEmojis ¶
func (*Shard) ListGuildMembers ¶
func (*Shard) ListJoinedPrivateArchivedThreads ¶
func (s *Shard) ListJoinedPrivateArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
func (*Shard) ListPrivateArchivedThreads ¶
func (s *Shard) ListPrivateArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
func (*Shard) ListPublicArchivedThreads ¶
func (s *Shard) ListPublicArchivedThreads(ctx context.Context, channelId uint64, data rest.ListThreadsData) (rest.ThreadsResponse, error)
func (*Shard) ListThreadMembers ¶
func (*Shard) ListVoiceRegions ¶
GetGuildVoiceRegions should be preferred, as it returns VIP servers if available to the guild
func (*Shard) ModifyChannel ¶
func (*Shard) ModifyCurrentUser ¶
func (*Shard) ModifyCurrentUserNick ¶
func (*Shard) ModifyGlobalCommand ¶
func (s *Shard) ModifyGlobalCommand(ctx context.Context, applicationId, commandId uint64, data rest.CreateCommandData) (interaction.ApplicationCommand, error)
func (*Shard) ModifyGlobalCommands ¶
func (s *Shard) ModifyGlobalCommands(ctx context.Context, applicationId uint64, data []rest.CreateCommandData) ([]interaction.ApplicationCommand, error)
func (*Shard) ModifyGuild ¶
func (*Shard) ModifyGuildChannelPositions ¶
func (*Shard) ModifyGuildCommand ¶
func (s *Shard) ModifyGuildCommand(ctx context.Context, applicationId, guildId, commandId uint64, data rest.CreateCommandData) (interaction.ApplicationCommand, error)
func (*Shard) ModifyGuildCommands ¶
func (s *Shard) ModifyGuildCommands(ctx context.Context, applicationId, guildId uint64, data []rest.CreateCommandData) ([]interaction.ApplicationCommand, error)
func (*Shard) ModifyGuildEmbed ¶
func (s *Shard) ModifyGuildEmbed(ctx context.Context, guildId uint64, data guild.GuildEmbed) (guild.GuildEmbed, error)
func (*Shard) ModifyGuildEmoji ¶
func (*Shard) ModifyGuildIntegration ¶
func (*Shard) ModifyGuildMember ¶
func (*Shard) ModifyGuildRole ¶
func (*Shard) ModifyGuildRolePositions ¶
func (*Shard) ModifyWebhook ¶
func (*Shard) RemoveGuildBan ¶
func (*Shard) RemoveGuildMember ¶
func (*Shard) RemoveGuildMemberRole ¶
func (*Shard) RemoveThreadMember ¶
func (*Shard) SearchGuildMembers ¶
func (*Shard) SelfAvatar ¶
func (*Shard) SelfUsername ¶
func (*Shard) StartThreadWithMessage ¶
func (*Shard) StartThreadWithoutMessage ¶
func (*Shard) SyncGuildIntegration ¶
func (*Shard) TriggerTypingIndicator ¶
func (*Shard) UpdateStatus ¶
func (s *Shard) UpdateStatus(data user.UpdateStatus) error
type ShardCount ¶
type ShardManager ¶
type ShardManager struct { Token string RateLimiter *ratelimit.Ratelimiter ShardOptions ShardOptions Shards map[int]*Shard EventBus *events.EventBus }
func NewShardManager ¶
func NewShardManager(token string, shardOptions ShardOptions) *ShardManager
func (*ShardManager) Connect ¶
func (sm *ShardManager) Connect()
func (*ShardManager) RegisterListeners ¶
func (sm *ShardManager) RegisterListeners(listeners ...interface{})
func (*ShardManager) ShardForGuild ¶
func (sm *ShardManager) ShardForGuild(guildId uint64) *Shard
func (*ShardManager) WaitForInterrupt ¶
func (sm *ShardManager) WaitForInterrupt()
type ShardOptions ¶
type ShardOptions struct { ShardCount ShardCount CacheFactory cache.CacheFactory RateLimitStore ratelimit.RateLimitStore GuildSubscriptions bool Presence user.UpdateStatus Hooks Hooks Debug bool Intents []intents.Intent LargeShardingBuckets int // defaults to 1. don't touch unless discord tell you to }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.