Documentation ¶
Overview ¶
Package discord is a generated GoMock package.
Index ¶
- type Bot
- func (bot *Bot) AddCommands(cmds ...Command)
- func (bot *Bot) ClearCommands(guildID string)
- func (bot *Bot) RegisterCommands(guildID string)
- func (bot *Bot) SendChannelMessage(channelName string, message string)
- func (bot *Bot) SendDeveloperMessage(message string)
- func (bot *Bot) SendEmbedMessage(channelName string, message *discordgo.MessageEmbed)
- func (bot *Bot) Stop()
- type Command
- type ContainsInteractionResponseMatcher
- type MockSession
- func (m *MockSession) AddHandler(handler any) func()
- func (m *MockSession) AddHandlerOnce(handler any) func()
- func (m *MockSession) ApplicationCommand(appID, guildID, cmdID string, options ...discordgo.RequestOption) (*discordgo.ApplicationCommand, error)
- func (m *MockSession) ApplicationCommandBulkOverwrite(appID, guildID string, commands []*discordgo.ApplicationCommand, ...) ([]*discordgo.ApplicationCommand, error)
- func (m *MockSession) ApplicationCommandCreate(appID, guildID string, cmd *discordgo.ApplicationCommand, ...) (*discordgo.ApplicationCommand, error)
- func (m *MockSession) ApplicationCommandDelete(appID, guildID, cmdID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ApplicationCommandEdit(appID, guildID, cmdID string, cmd *discordgo.ApplicationCommand, ...) (*discordgo.ApplicationCommand, error)
- func (m *MockSession) ApplicationCommandPermissions(appID, guildID, cmdID string, options ...discordgo.RequestOption) (*discordgo.GuildApplicationCommandPermissions, error)
- func (m *MockSession) ApplicationCommandPermissionsBatchEdit(appID, guildID string, ...) error
- func (m *MockSession) ApplicationCommandPermissionsEdit(appID, guildID, cmdID string, ...) error
- func (m *MockSession) ApplicationCommands(appID, guildID string, options ...discordgo.RequestOption) ([]*discordgo.ApplicationCommand, error)
- func (m *MockSession) ApplicationRoleConnectionMetadata(appID string) ([]*discordgo.ApplicationRoleConnectionMetadata, error)
- func (m *MockSession) ApplicationRoleConnectionMetadataUpdate(appID string, metadata []*discordgo.ApplicationRoleConnectionMetadata) ([]*discordgo.ApplicationRoleConnectionMetadata, error)
- func (m *MockSession) AutoModerationRule(guildID, ruleID string, options ...discordgo.RequestOption) (*discordgo.AutoModerationRule, error)
- func (m *MockSession) AutoModerationRuleCreate(guildID string, rule *discordgo.AutoModerationRule, ...) (*discordgo.AutoModerationRule, error)
- func (m *MockSession) AutoModerationRuleDelete(guildID, ruleID string, options ...discordgo.RequestOption) error
- func (m *MockSession) AutoModerationRuleEdit(guildID, ruleID string, rule *discordgo.AutoModerationRule, ...) (*discordgo.AutoModerationRule, error)
- func (m *MockSession) AutoModerationRules(guildID string, options ...discordgo.RequestOption) ([]*discordgo.AutoModerationRule, error)
- func (m *MockSession) Channel(channelID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
- func (m *MockSession) ChannelDelete(channelID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
- func (m *MockSession) ChannelEdit(channelID string, data *discordgo.ChannelEdit, ...) (*discordgo.Channel, error)
- func (m *MockSession) ChannelEditComplex(channelID string, data *discordgo.ChannelEdit, ...) (*discordgo.Channel, error)
- func (m *MockSession) ChannelFileSend(channelID, name string, r io.Reader, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelFileSendWithMessage(channelID, content, name string, r io.Reader, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelInviteCreate(channelID string, i discordgo.Invite, options ...discordgo.RequestOption) (*discordgo.Invite, error)
- func (m *MockSession) ChannelInvites(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Invite, error)
- func (m *MockSession) ChannelMessage(channelID, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageCrosspost(channelID, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageDelete(channelID, messageID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelMessageEdit(channelID, messageID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m_2 *MockSession) ChannelMessageEditComplex(m *discordgo.MessageEdit, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageEditEmbed(channelID, messageID string, embed *discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageEditEmbeds(channelID, messageID string, embeds []*discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessagePin(channelID, messageID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelMessageSend(channelID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendEmbed(channelID string, embed *discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendEmbedReply(channelID string, embed *discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendEmbeds(channelID string, embeds []*discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendEmbedsReply(channelID string, embeds []*discordgo.MessageEmbed, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendReply(channelID, content string, reference *discordgo.MessageReference, ...) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageSendTTS(channelID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) ChannelMessageUnpin(channelID, messageID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string, ...) ([]*discordgo.Message, error)
- func (m *MockSession) ChannelMessagesBulkDelete(channelID string, messages []string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelMessagesPinned(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Message, error)
- func (m *MockSession) ChannelNewsFollow(channelID, targetID string, options ...discordgo.RequestOption) (*discordgo.ChannelFollow, error)
- func (m *MockSession) ChannelPermissionDelete(channelID, targetID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelPermissionSet(channelID, targetID string, targetType discordgo.PermissionOverwriteType, ...) error
- func (m *MockSession) ChannelTyping(channelID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (*discordgo.VoiceConnection, error)
- func (m *MockSession) ChannelVoiceJoinManual(gID, cID string, mute, deaf bool) error
- func (m *MockSession) ChannelWebhooks(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Webhook, error)
- func (m *MockSession) Close() error
- func (m *MockSession) CloseWithCode(closeCode int) error
- func (m *MockSession) EXPECT() *MockSessionMockRecorder
- func (m *MockSession) FollowupMessageCreate(interaction *discordgo.Interaction, wait bool, data *discordgo.WebhookParams, ...) (*discordgo.Message, error)
- func (m *MockSession) FollowupMessageDelete(interaction *discordgo.Interaction, messageID string, ...) error
- func (m *MockSession) FollowupMessageEdit(interaction *discordgo.Interaction, messageID string, ...) (*discordgo.Message, error)
- func (m *MockSession) ForumThreadStart(channelID, name string, archiveDuration int, content string, ...) (*discordgo.Channel, error)
- func (m *MockSession) ForumThreadStartComplex(channelID string, threadData *discordgo.ThreadStart, ...) (*discordgo.Channel, error)
- func (m *MockSession) ForumThreadStartEmbed(channelID, name string, archiveDuration int, embed *discordgo.MessageEmbed, ...) (*discordgo.Channel, error)
- func (m *MockSession) ForumThreadStartEmbeds(channelID, name string, archiveDuration int, embeds []*discordgo.MessageEmbed, ...) (*discordgo.Channel, error)
- func (m *MockSession) Gateway(options ...discordgo.RequestOption) (string, error)
- func (m *MockSession) GatewayBot(options ...discordgo.RequestOption) (*discordgo.GatewayBotResponse, error)
- func (m *MockSession) Guild(guildID string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
- func (m *MockSession) GuildApplicationCommandsPermissions(appID, guildID string, options ...discordgo.RequestOption) ([]*discordgo.GuildApplicationCommandPermissions, error)
- func (m *MockSession) GuildAuditLog(guildID, userID, beforeID string, actionType, limit int, ...) (*discordgo.GuildAuditLog, error)
- func (m *MockSession) GuildBan(guildID, userID string, options ...discordgo.RequestOption) (*discordgo.GuildBan, error)
- func (m *MockSession) GuildBanCreate(guildID, userID string, days int, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildBanCreateWithReason(guildID, userID, reason string, days int, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildBanDelete(guildID, userID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildBans(guildID string, limit int, beforeID, afterID string, ...) ([]*discordgo.GuildBan, error)
- func (m *MockSession) GuildChannelCreate(guildID, name string, ctype discordgo.ChannelType, ...) (*discordgo.Channel, error)
- func (m *MockSession) GuildChannelCreateComplex(guildID string, data discordgo.GuildChannelCreateData, ...) (*discordgo.Channel, error)
- func (m *MockSession) GuildChannels(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Channel, error)
- func (m *MockSession) GuildChannelsReorder(guildID string, channels []*discordgo.Channel, ...) error
- func (m *MockSession) GuildCreate(name string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
- func (m *MockSession) GuildCreateWithTemplate(templateCode, name, icon string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
- func (m *MockSession) GuildDelete(guildID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildEdit(guildID string, g *discordgo.GuildParams, options ...discordgo.RequestOption) (*discordgo.Guild, error)
- func (m *MockSession) GuildEmbed(guildID string, options ...discordgo.RequestOption) (*discordgo.GuildEmbed, error)
- func (m *MockSession) GuildEmbedEdit(guildID string, data *discordgo.GuildEmbed, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildEmoji(guildID, emojiID string, options ...discordgo.RequestOption) (*discordgo.Emoji, error)
- func (m *MockSession) GuildEmojiCreate(guildID string, data *discordgo.EmojiParams, ...) (*discordgo.Emoji, error)
- func (m *MockSession) GuildEmojiDelete(guildID, emojiID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildEmojiEdit(guildID, emojiID string, data *discordgo.EmojiParams, ...) (*discordgo.Emoji, error)
- func (m *MockSession) GuildEmojis(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Emoji, error)
- func (m *MockSession) GuildIcon(guildID string, options ...discordgo.RequestOption) (image.Image, error)
- func (m *MockSession) GuildIntegrationCreate(guildID, integrationType, integrationID string, ...) error
- func (m *MockSession) GuildIntegrationDelete(guildID, integrationID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildIntegrationEdit(guildID, integrationID string, expireBehavior, expireGracePeriod int, ...) error
- func (m *MockSession) GuildIntegrations(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Integration, error)
- func (m *MockSession) GuildInvites(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Invite, error)
- func (m *MockSession) GuildLeave(guildID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMember(guildID, userID string, options ...discordgo.RequestOption) (*discordgo.Member, error)
- func (m *MockSession) GuildMemberAdd(guildID, userID string, data *discordgo.GuildMemberAddParams, ...) error
- func (m *MockSession) GuildMemberDeafen(guildID, userID string, deaf bool, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberDelete(guildID, userID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberDeleteWithReason(guildID, userID, reason string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberEdit(guildID, userID string, data *discordgo.GuildMemberParams, ...) (*discordgo.Member, error)
- func (m *MockSession) GuildMemberEditComplex(guildID, userID string, data *discordgo.GuildMemberParams, ...) (*discordgo.Member, error)
- func (m *MockSession) GuildMemberMove(guildID, userID string, channelID *string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberMute(guildID, userID string, mute bool, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberNickname(guildID, userID, nickname string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberRoleAdd(guildID, userID, roleID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberRoleRemove(guildID, userID, roleID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMemberTimeout(guildID, userID string, until *time.Time, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildMembers(guildID, after string, limit int, options ...discordgo.RequestOption) ([]*discordgo.Member, error)
- func (m *MockSession) GuildMembersSearch(guildID, query string, limit int, options ...discordgo.RequestOption) ([]*discordgo.Member, error)
- func (m *MockSession) GuildPreview(guildID string, options ...discordgo.RequestOption) (*discordgo.GuildPreview, error)
- func (m *MockSession) GuildPrune(guildID string, days uint32, options ...discordgo.RequestOption) (uint32, error)
- func (m *MockSession) GuildPruneCount(guildID string, days uint32, options ...discordgo.RequestOption) (uint32, error)
- func (m *MockSession) GuildRoleCreate(guildID string, data *discordgo.RoleParams, options ...discordgo.RequestOption) (*discordgo.Role, error)
- func (m *MockSession) GuildRoleDelete(guildID, roleID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildRoleEdit(guildID, roleID string, data *discordgo.RoleParams, ...) (*discordgo.Role, error)
- func (m *MockSession) GuildRoleReorder(guildID string, roles []*discordgo.Role, options ...discordgo.RequestOption) ([]*discordgo.Role, error)
- func (m *MockSession) GuildRoles(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Role, error)
- func (m *MockSession) GuildScheduledEvent(guildID, eventID string, userCount bool, options ...discordgo.RequestOption) (*discordgo.GuildScheduledEvent, error)
- func (m *MockSession) GuildScheduledEventCreate(guildID string, event *discordgo.GuildScheduledEventParams, ...) (*discordgo.GuildScheduledEvent, error)
- func (m *MockSession) GuildScheduledEventDelete(guildID, eventID string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildScheduledEventEdit(guildID, eventID string, event *discordgo.GuildScheduledEventParams, ...) (*discordgo.GuildScheduledEvent, error)
- func (m *MockSession) GuildScheduledEventUsers(guildID, eventID string, limit int, withMember bool, beforeID, afterID string, ...) ([]*discordgo.GuildScheduledEventUser, error)
- func (m *MockSession) GuildScheduledEvents(guildID string, userCount bool, options ...discordgo.RequestOption) ([]*discordgo.GuildScheduledEvent, error)
- func (m *MockSession) GuildSplash(guildID string, options ...discordgo.RequestOption) (image.Image, error)
- func (m *MockSession) GuildTemplate(templateCode string, options ...discordgo.RequestOption) (*discordgo.GuildTemplate, error)
- func (m *MockSession) GuildTemplateCreate(guildID string, data *discordgo.GuildTemplateParams, ...) *discordgo.GuildTemplate
- func (m *MockSession) GuildTemplateDelete(guildID, templateCode string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildTemplateEdit(guildID, templateCode string, data *discordgo.GuildTemplateParams, ...) (*discordgo.GuildTemplate, error)
- func (m *MockSession) GuildTemplateSync(guildID, templateCode string, options ...discordgo.RequestOption) error
- func (m *MockSession) GuildTemplates(guildID string, options ...discordgo.RequestOption) ([]*discordgo.GuildTemplate, error)
- func (m *MockSession) GuildThreadsActive(guildID string, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
- func (m *MockSession) GuildWebhooks(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Webhook, error)
- func (m *MockSession) GuildWithCounts(guildID string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
- func (m *MockSession) HeartbeatLatency() time.Duration
- func (m *MockSession) InteractionRespond(interaction *discordgo.Interaction, resp *discordgo.InteractionResponse, ...) error
- func (m *MockSession) InteractionResponse(interaction *discordgo.Interaction, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) InteractionResponseDelete(interaction *discordgo.Interaction, options ...discordgo.RequestOption) error
- func (m *MockSession) InteractionResponseEdit(interaction *discordgo.Interaction, newresp *discordgo.WebhookEdit, ...) (*discordgo.Message, error)
- func (m *MockSession) Invite(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
- func (m *MockSession) InviteAccept(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
- func (m *MockSession) InviteComplex(inviteID, guildScheduledEventID string, withCounts, withExpiration bool, ...) (*discordgo.Invite, error)
- func (m *MockSession) InviteDelete(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
- func (m *MockSession) InviteWithCounts(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
- func (m *MockSession) MessageReactionAdd(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error
- func (m *MockSession) MessageReactionRemove(channelID, messageID, emojiID, userID string, ...) error
- func (m *MockSession) MessageReactions(channelID, messageID, emojiID string, limit int, beforeID, afterID string, ...) ([]*discordgo.User, error)
- func (m *MockSession) MessageReactionsRemoveAll(channelID, messageID string, options ...discordgo.RequestOption) error
- func (m *MockSession) MessageReactionsRemoveEmoji(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error
- func (m *MockSession) MessageThreadStart(channelID, messageID, name string, archiveDuration int, ...) (*discordgo.Channel, error)
- func (m *MockSession) MessageThreadStartComplex(channelID, messageID string, data *discordgo.ThreadStart, ...) (*discordgo.Channel, error)
- func (m *MockSession) Open() error
- func (m *MockSession) Request(method, urlStr string, data any, options ...discordgo.RequestOption) ([]byte, error)
- func (m *MockSession) RequestGuildMembers(guildID, query string, limit int, nonce string, presences bool) error
- func (m *MockSession) RequestGuildMembersBatch(guildIDs []string, query string, limit int, nonce string, presences bool) error
- func (m *MockSession) RequestGuildMembersBatchList(guildIDs, userIDs []string, limit int, nonce string, presences bool) error
- func (m *MockSession) RequestGuildMembersList(guildID string, userIDs []string, limit int, nonce string, presences bool) error
- func (m *MockSession) RequestWithBucketID(method, urlStr string, data any, bucketID string, ...) ([]byte, error)
- func (m *MockSession) RequestWithLockedBucket(method, urlStr, contentType string, b []byte, bucket *discordgo.Bucket, ...) ([]byte, error)
- func (m *MockSession) StageInstance(channelID string, options ...discordgo.RequestOption) (*discordgo.StageInstance, error)
- func (m *MockSession) StageInstanceCreate(data *discordgo.StageInstanceParams, options ...discordgo.RequestOption) (*discordgo.StageInstance, error)
- func (m *MockSession) StageInstanceDelete(channelID string, options ...discordgo.RequestOption) error
- func (m *MockSession) StageInstanceEdit(channelID string, data *discordgo.StageInstanceParams, ...) (*discordgo.StageInstance, error)
- func (m *MockSession) ThreadJoin(id string, options ...discordgo.RequestOption) error
- func (m *MockSession) ThreadLeave(id string, options ...discordgo.RequestOption) error
- func (m *MockSession) ThreadMember(arg0, arg1 string, arg2 bool, arg3 ...discordgo.RequestOption) (*discordgo.ThreadMember, error)
- func (m *MockSession) ThreadMemberAdd(threadID, memberID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ThreadMemberRemove(threadID, memberID string, options ...discordgo.RequestOption) error
- func (m *MockSession) ThreadMembers(arg0 string, arg1 int, arg2 bool, arg3 string, arg4 ...discordgo.RequestOption) ([]*discordgo.ThreadMember, error)
- func (m *MockSession) ThreadStart(channelID, name string, typ discordgo.ChannelType, archiveDuration int, ...) (*discordgo.Channel, error)
- func (m *MockSession) ThreadStartComplex(channelID string, data *discordgo.ThreadStart, ...) (*discordgo.Channel, error)
- func (m *MockSession) ThreadsActive(channelID string, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
- func (m *MockSession) ThreadsArchived(channelID string, before *time.Time, limit int, ...) (*discordgo.ThreadsList, error)
- func (m *MockSession) ThreadsPrivateArchived(channelID string, before *time.Time, limit int, ...) (*discordgo.ThreadsList, error)
- func (m *MockSession) ThreadsPrivateJoinedArchived(channelID string, before *time.Time, limit int, ...) (*discordgo.ThreadsList, error)
- func (m *MockSession) UpdateGameStatus(idle int, name string) error
- func (m *MockSession) UpdateListeningStatus(name string) error
- func (m *MockSession) UpdateStatusComplex(usd discordgo.UpdateStatusData) error
- func (m *MockSession) UpdateStreamingStatus(idle int, name, url string) error
- func (m *MockSession) UpdateWatchStatus(idle int, name string) error
- func (m *MockSession) User(userID string, options ...discordgo.RequestOption) (*discordgo.User, error)
- func (m *MockSession) UserApplicationRoleConnection(appID string) (*discordgo.ApplicationRoleConnection, error)
- func (m *MockSession) UserApplicationRoleConnectionUpdate(appID string, rconn *discordgo.ApplicationRoleConnection) (*discordgo.ApplicationRoleConnection, error)
- func (m *MockSession) UserAvatar(userID string, options ...discordgo.RequestOption) (image.Image, error)
- func (m *MockSession) UserAvatarDecode(u *discordgo.User, options ...discordgo.RequestOption) (image.Image, error)
- func (m *MockSession) UserChannelCreate(recipientID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
- func (m *MockSession) UserChannelPermissions(userID, channelID string, fetchOptions ...discordgo.RequestOption) (int64, error)
- func (m *MockSession) UserConnections(options ...discordgo.RequestOption) ([]*discordgo.UserConnection, error)
- func (m *MockSession) UserGuildMember(guildID string, options ...discordgo.RequestOption) (*discordgo.Member, error)
- func (m *MockSession) UserGuilds(arg0 int, arg1, arg2 string, arg3 bool, arg4 ...discordgo.RequestOption) ([]*discordgo.UserGuild, error)
- func (m *MockSession) UserUpdate(username, avatar string, options ...discordgo.RequestOption) (*discordgo.User, error)
- func (m *MockSession) VoiceRegions(options ...discordgo.RequestOption) ([]*discordgo.VoiceRegion, error)
- func (m *MockSession) Webhook(webhookID string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
- func (m *MockSession) WebhookCreate(channelID, name, avatar string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
- func (m *MockSession) WebhookDelete(webhookID string, options ...discordgo.RequestOption) error
- func (m *MockSession) WebhookDeleteWithToken(webhookID, token string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
- func (m *MockSession) WebhookEdit(arg0, arg1, arg2, arg3 string, arg4 ...discordgo.RequestOption) (*discordgo.Webhook, error)
- func (m *MockSession) WebhookEditWithToken(arg0, arg1, arg2, arg3 string, arg4 ...discordgo.RequestOption) (*discordgo.Webhook, error)
- func (m *MockSession) WebhookExecute(webhookID, token string, wait bool, data *discordgo.WebhookParams, ...) (*discordgo.Message, error)
- func (m *MockSession) WebhookMessage(webhookID, token, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
- func (m *MockSession) WebhookMessageDelete(webhookID, token, messageID string, options ...discordgo.RequestOption) error
- func (m *MockSession) WebhookMessageEdit(webhookID, token, messageID string, data *discordgo.WebhookEdit, ...) (*discordgo.Message, error)
- func (m *MockSession) WebhookThreadExecute(webhookID, token string, wait bool, threadID string, ...) (*discordgo.Message, error)
- func (m *MockSession) WebhookWithToken(webhookID, token string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
- type MockSessionMockRecorder
- func (mr *MockSessionMockRecorder) AddHandler(handler any) *gomock.Call
- func (mr *MockSessionMockRecorder) AddHandlerOnce(handler any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommand(appID, guildID, cmdID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandBulkOverwrite(appID, guildID, commands any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandCreate(appID, guildID, cmd any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandDelete(appID, guildID, cmdID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandEdit(appID, guildID, cmdID, cmd any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandPermissions(appID, guildID, cmdID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandPermissionsBatchEdit(appID, guildID, permissions any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommandPermissionsEdit(appID, guildID, cmdID, permissions any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationCommands(appID, guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationRoleConnectionMetadata(appID any) *gomock.Call
- func (mr *MockSessionMockRecorder) ApplicationRoleConnectionMetadataUpdate(appID, metadata any) *gomock.Call
- func (mr *MockSessionMockRecorder) AutoModerationRule(guildID, ruleID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) AutoModerationRuleCreate(guildID, rule any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) AutoModerationRuleDelete(guildID, ruleID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) AutoModerationRuleEdit(guildID, ruleID, rule any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) AutoModerationRules(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Channel(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelDelete(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelEdit(channelID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelEditComplex(channelID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelFileSend(channelID, name, r any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelFileSendWithMessage(channelID, content, name, r any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelInviteCreate(channelID, i any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelInvites(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessage(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageCrosspost(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageDelete(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageEdit(channelID, messageID, content any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageEditComplex(m any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageEditEmbed(channelID, messageID, embed any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageEditEmbeds(channelID, messageID, embeds any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessagePin(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSend(channelID, content any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendComplex(channelID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendEmbed(channelID, embed any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendEmbedReply(channelID, embed, reference any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendEmbeds(channelID, embeds any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendEmbedsReply(channelID, embeds, reference any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendReply(channelID, content, reference any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageSendTTS(channelID, content any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessageUnpin(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessages(channelID, limit, beforeID, afterID, aroundID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessagesBulkDelete(channelID, messages any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelMessagesPinned(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelNewsFollow(channelID, targetID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelPermissionDelete(channelID, targetID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelPermissionSet(channelID, targetID, targetType, allow, deny any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelTyping(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelVoiceJoin(gID, cID, mute, deaf any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelVoiceJoinManual(gID, cID, mute, deaf any) *gomock.Call
- func (mr *MockSessionMockRecorder) ChannelWebhooks(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Close() *gomock.Call
- func (mr *MockSessionMockRecorder) CloseWithCode(closeCode any) *gomock.Call
- func (mr *MockSessionMockRecorder) FollowupMessageCreate(interaction, wait, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) FollowupMessageDelete(interaction, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) FollowupMessageEdit(interaction, messageID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ForumThreadStart(channelID, name, archiveDuration, content any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ForumThreadStartComplex(channelID, threadData, messageData any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ForumThreadStartEmbed(channelID, name, archiveDuration, embed any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ForumThreadStartEmbeds(channelID, name, archiveDuration, embeds any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Gateway(options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GatewayBot(options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Guild(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildApplicationCommandsPermissions(appID, guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildAuditLog(guildID, userID, beforeID, actionType, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildBan(guildID, userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildBanCreate(guildID, userID, days any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildBanCreateWithReason(guildID, userID, reason, days any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildBanDelete(guildID, userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildBans(guildID, limit, beforeID, afterID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildChannelCreate(guildID, name, ctype any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildChannelCreateComplex(guildID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildChannels(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildChannelsReorder(guildID, channels any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildCreate(name any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildCreateWithTemplate(templateCode, name, icon any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildDelete(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEdit(guildID, g any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmbed(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmbedEdit(guildID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmoji(guildID, emojiID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmojiCreate(guildID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmojiDelete(guildID, emojiID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmojiEdit(guildID, emojiID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildEmojis(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildIcon(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildIntegrationCreate(guildID, integrationType, integrationID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildIntegrationDelete(guildID, integrationID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildIntegrationEdit(guildID, integrationID, expireBehavior, expireGracePeriod, enableEmoticons any, ...) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildIntegrations(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildInvites(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildLeave(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMember(guildID, userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberAdd(guildID, userID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberDeafen(guildID, userID, deaf any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberDelete(guildID, userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberDeleteWithReason(guildID, userID, reason any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberEdit(guildID, userID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberEditComplex(guildID, userID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberMove(guildID, userID, channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberMute(guildID, userID, mute any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberNickname(guildID, userID, nickname any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberRoleAdd(guildID, userID, roleID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberRoleRemove(guildID, userID, roleID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMemberTimeout(guildID, userID, until any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMembers(guildID, after, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildMembersSearch(guildID, query, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildPreview(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildPrune(guildID, days any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildPruneCount(guildID, days any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildRoleCreate(guildID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildRoleDelete(guildID, roleID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildRoleEdit(guildID, roleID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildRoleReorder(guildID, roles any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildRoles(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEvent(guildID, eventID, userCount any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEventCreate(guildID, event any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEventDelete(guildID, eventID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEventEdit(guildID, eventID, event any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEventUsers(guildID, eventID, limit, withMember, beforeID, afterID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildScheduledEvents(guildID, userCount any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildSplash(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplate(templateCode any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplateCreate(guildID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplateDelete(guildID, templateCode any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplateEdit(guildID, templateCode, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplateSync(guildID, templateCode any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildTemplates(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildThreadsActive(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildWebhooks(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) GuildWithCounts(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) HeartbeatLatency() *gomock.Call
- func (mr *MockSessionMockRecorder) InteractionRespond(interaction, resp any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InteractionResponse(interaction any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InteractionResponseDelete(interaction any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InteractionResponseEdit(interaction, newresp any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Invite(inviteID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InviteAccept(inviteID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InviteComplex(inviteID, guildScheduledEventID, withCounts, withExpiration any, ...) *gomock.Call
- func (mr *MockSessionMockRecorder) InviteDelete(inviteID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) InviteWithCounts(inviteID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageReactionAdd(channelID, messageID, emojiID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageReactionRemove(channelID, messageID, emojiID, userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageReactions(channelID, messageID, emojiID, limit, beforeID, afterID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageReactionsRemoveAll(channelID, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageReactionsRemoveEmoji(channelID, messageID, emojiID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageThreadStart(channelID, messageID, name, archiveDuration any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) MessageThreadStartComplex(channelID, messageID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Open() *gomock.Call
- func (mr *MockSessionMockRecorder) Request(method, urlStr, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestGuildMembers(guildID, query, limit, nonce, presences any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestGuildMembersBatch(guildIDs, query, limit, nonce, presences any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestGuildMembersBatchList(guildIDs, userIDs, limit, nonce, presences any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestGuildMembersList(guildID, userIDs, limit, nonce, presences any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestWithBucketID(method, urlStr, data, bucketID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) RequestWithLockedBucket(method, urlStr, contentType, b, bucket, sequence any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) StageInstance(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) StageInstanceCreate(data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) StageInstanceDelete(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) StageInstanceEdit(channelID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadJoin(id any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadLeave(id any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadMember(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadMemberAdd(threadID, memberID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadMemberRemove(threadID, memberID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadMembers(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadStart(channelID, name, typ, archiveDuration any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadStartComplex(channelID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadsActive(channelID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadsArchived(channelID, before, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadsPrivateArchived(channelID, before, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) ThreadsPrivateJoinedArchived(channelID, before, limit any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UpdateGameStatus(idle, name any) *gomock.Call
- func (mr *MockSessionMockRecorder) UpdateListeningStatus(name any) *gomock.Call
- func (mr *MockSessionMockRecorder) UpdateStatusComplex(usd any) *gomock.Call
- func (mr *MockSessionMockRecorder) UpdateStreamingStatus(idle, name, url any) *gomock.Call
- func (mr *MockSessionMockRecorder) UpdateWatchStatus(idle, name any) *gomock.Call
- func (mr *MockSessionMockRecorder) User(userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserApplicationRoleConnection(appID any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserApplicationRoleConnectionUpdate(appID, rconn any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserAvatar(userID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserAvatarDecode(u any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserChannelCreate(recipientID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserChannelPermissions(userID, channelID any, fetchOptions ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserConnections(options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserGuildMember(guildID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserGuilds(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) UserUpdate(username, avatar any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) VoiceRegions(options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) Webhook(webhookID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookCreate(channelID, name, avatar any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookDelete(webhookID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookDeleteWithToken(webhookID, token any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookEdit(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookEditWithToken(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookExecute(webhookID, token, wait, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookMessage(webhookID, token, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookMessageDelete(webhookID, token, messageID any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookMessageEdit(webhookID, token, messageID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookThreadExecute(webhookID, token, wait, threadID, data any, options ...any) *gomock.Call
- func (mr *MockSessionMockRecorder) WebhookWithToken(webhookID, token any, options ...any) *gomock.Call
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
func (*Bot) AddCommands ¶
func (*Bot) ClearCommands ¶ added in v1.10.0
func (*Bot) RegisterCommands ¶
func (*Bot) SendChannelMessage ¶
func (*Bot) SendDeveloperMessage ¶
func (*Bot) SendEmbedMessage ¶
func (bot *Bot) SendEmbedMessage(channelName string, message *discordgo.MessageEmbed)
type Command ¶
type Command struct { Command discordgo.ApplicationCommand Handler interface{} // Matching the session AddHandler function, the fist argument is a *discordgo.Session object and the second is a *discordgo.InteractionCreate object }
type ContainsInteractionResponseMatcher ¶ added in v1.5.0
type ContainsInteractionResponseMatcher struct {
// contains filtered or unexported fields
}
func ContainsInteractionResponse ¶ added in v1.5.1
func ContainsInteractionResponse(msg string) ContainsInteractionResponseMatcher
func (ContainsInteractionResponseMatcher) Got ¶ added in v1.5.0
func (m ContainsInteractionResponseMatcher) Got(input interface{}) string
func (ContainsInteractionResponseMatcher) Matches ¶ added in v1.5.0
func (m ContainsInteractionResponseMatcher) Matches(input interface{}) bool
func (ContainsInteractionResponseMatcher) String ¶ added in v1.5.0
func (m ContainsInteractionResponseMatcher) String() string
type MockSession ¶ added in v1.2.0
type MockSession struct {
// contains filtered or unexported fields
}
MockSession is a mock of Session interface.
func NewMockSession ¶ added in v1.2.0
func NewMockSession(ctrl *gomock.Controller) *MockSession
NewMockSession creates a new mock instance.
func (*MockSession) AddHandler ¶ added in v1.2.0
func (m *MockSession) AddHandler(handler any) func()
AddHandler mocks base method.
func (*MockSession) AddHandlerOnce ¶ added in v1.2.0
func (m *MockSession) AddHandlerOnce(handler any) func()
AddHandlerOnce mocks base method.
func (*MockSession) ApplicationCommand ¶ added in v1.2.0
func (m *MockSession) ApplicationCommand(appID, guildID, cmdID string, options ...discordgo.RequestOption) (*discordgo.ApplicationCommand, error)
ApplicationCommand mocks base method.
func (*MockSession) ApplicationCommandBulkOverwrite ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandBulkOverwrite(appID, guildID string, commands []*discordgo.ApplicationCommand, options ...discordgo.RequestOption) ([]*discordgo.ApplicationCommand, error)
ApplicationCommandBulkOverwrite mocks base method.
func (*MockSession) ApplicationCommandCreate ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandCreate(appID, guildID string, cmd *discordgo.ApplicationCommand, options ...discordgo.RequestOption) (*discordgo.ApplicationCommand, error)
ApplicationCommandCreate mocks base method.
func (*MockSession) ApplicationCommandDelete ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandDelete(appID, guildID, cmdID string, options ...discordgo.RequestOption) error
ApplicationCommandDelete mocks base method.
func (*MockSession) ApplicationCommandEdit ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandEdit(appID, guildID, cmdID string, cmd *discordgo.ApplicationCommand, options ...discordgo.RequestOption) (*discordgo.ApplicationCommand, error)
ApplicationCommandEdit mocks base method.
func (*MockSession) ApplicationCommandPermissions ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandPermissions(appID, guildID, cmdID string, options ...discordgo.RequestOption) (*discordgo.GuildApplicationCommandPermissions, error)
ApplicationCommandPermissions mocks base method.
func (*MockSession) ApplicationCommandPermissionsBatchEdit ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandPermissionsBatchEdit(appID, guildID string, permissions []*discordgo.GuildApplicationCommandPermissions, options ...discordgo.RequestOption) error
ApplicationCommandPermissionsBatchEdit mocks base method.
func (*MockSession) ApplicationCommandPermissionsEdit ¶ added in v1.2.0
func (m *MockSession) ApplicationCommandPermissionsEdit(appID, guildID, cmdID string, permissions *discordgo.ApplicationCommandPermissionsList, options ...discordgo.RequestOption) error
ApplicationCommandPermissionsEdit mocks base method.
func (*MockSession) ApplicationCommands ¶ added in v1.2.0
func (m *MockSession) ApplicationCommands(appID, guildID string, options ...discordgo.RequestOption) ([]*discordgo.ApplicationCommand, error)
ApplicationCommands mocks base method.
func (*MockSession) ApplicationRoleConnectionMetadata ¶ added in v1.2.0
func (m *MockSession) ApplicationRoleConnectionMetadata(appID string) ([]*discordgo.ApplicationRoleConnectionMetadata, error)
ApplicationRoleConnectionMetadata mocks base method.
func (*MockSession) ApplicationRoleConnectionMetadataUpdate ¶ added in v1.2.0
func (m *MockSession) ApplicationRoleConnectionMetadataUpdate(appID string, metadata []*discordgo.ApplicationRoleConnectionMetadata) ([]*discordgo.ApplicationRoleConnectionMetadata, error)
ApplicationRoleConnectionMetadataUpdate mocks base method.
func (*MockSession) AutoModerationRule ¶ added in v1.2.0
func (m *MockSession) AutoModerationRule(guildID, ruleID string, options ...discordgo.RequestOption) (*discordgo.AutoModerationRule, error)
AutoModerationRule mocks base method.
func (*MockSession) AutoModerationRuleCreate ¶ added in v1.2.0
func (m *MockSession) AutoModerationRuleCreate(guildID string, rule *discordgo.AutoModerationRule, options ...discordgo.RequestOption) (*discordgo.AutoModerationRule, error)
AutoModerationRuleCreate mocks base method.
func (*MockSession) AutoModerationRuleDelete ¶ added in v1.2.0
func (m *MockSession) AutoModerationRuleDelete(guildID, ruleID string, options ...discordgo.RequestOption) error
AutoModerationRuleDelete mocks base method.
func (*MockSession) AutoModerationRuleEdit ¶ added in v1.2.0
func (m *MockSession) AutoModerationRuleEdit(guildID, ruleID string, rule *discordgo.AutoModerationRule, options ...discordgo.RequestOption) (*discordgo.AutoModerationRule, error)
AutoModerationRuleEdit mocks base method.
func (*MockSession) AutoModerationRules ¶ added in v1.2.0
func (m *MockSession) AutoModerationRules(guildID string, options ...discordgo.RequestOption) ([]*discordgo.AutoModerationRule, error)
AutoModerationRules mocks base method.
func (*MockSession) Channel ¶ added in v1.2.0
func (m *MockSession) Channel(channelID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
Channel mocks base method.
func (*MockSession) ChannelDelete ¶ added in v1.2.0
func (m *MockSession) ChannelDelete(channelID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ChannelDelete mocks base method.
func (*MockSession) ChannelEdit ¶ added in v1.2.0
func (m *MockSession) ChannelEdit(channelID string, data *discordgo.ChannelEdit, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ChannelEdit mocks base method.
func (*MockSession) ChannelEditComplex ¶ added in v1.2.0
func (m *MockSession) ChannelEditComplex(channelID string, data *discordgo.ChannelEdit, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ChannelEditComplex mocks base method.
func (*MockSession) ChannelFileSend ¶ added in v1.2.0
func (m *MockSession) ChannelFileSend(channelID, name string, r io.Reader, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelFileSend mocks base method.
func (*MockSession) ChannelFileSendWithMessage ¶ added in v1.2.0
func (m *MockSession) ChannelFileSendWithMessage(channelID, content, name string, r io.Reader, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelFileSendWithMessage mocks base method.
func (*MockSession) ChannelInviteCreate ¶ added in v1.2.0
func (m *MockSession) ChannelInviteCreate(channelID string, i discordgo.Invite, options ...discordgo.RequestOption) (*discordgo.Invite, error)
ChannelInviteCreate mocks base method.
func (*MockSession) ChannelInvites ¶ added in v1.2.0
func (m *MockSession) ChannelInvites(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Invite, error)
ChannelInvites mocks base method.
func (*MockSession) ChannelMessage ¶ added in v1.2.0
func (m *MockSession) ChannelMessage(channelID, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessage mocks base method.
func (*MockSession) ChannelMessageCrosspost ¶ added in v1.2.0
func (m *MockSession) ChannelMessageCrosspost(channelID, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageCrosspost mocks base method.
func (*MockSession) ChannelMessageDelete ¶ added in v1.2.0
func (m *MockSession) ChannelMessageDelete(channelID, messageID string, options ...discordgo.RequestOption) error
ChannelMessageDelete mocks base method.
func (*MockSession) ChannelMessageEdit ¶ added in v1.2.0
func (m *MockSession) ChannelMessageEdit(channelID, messageID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageEdit mocks base method.
func (*MockSession) ChannelMessageEditComplex ¶ added in v1.2.0
func (m_2 *MockSession) ChannelMessageEditComplex(m *discordgo.MessageEdit, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageEditComplex mocks base method.
func (*MockSession) ChannelMessageEditEmbed ¶ added in v1.2.0
func (m *MockSession) ChannelMessageEditEmbed(channelID, messageID string, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageEditEmbed mocks base method.
func (*MockSession) ChannelMessageEditEmbeds ¶ added in v1.2.0
func (m *MockSession) ChannelMessageEditEmbeds(channelID, messageID string, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageEditEmbeds mocks base method.
func (*MockSession) ChannelMessagePin ¶ added in v1.2.0
func (m *MockSession) ChannelMessagePin(channelID, messageID string, options ...discordgo.RequestOption) error
ChannelMessagePin mocks base method.
func (*MockSession) ChannelMessageSend ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSend(channelID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSend mocks base method.
func (*MockSession) ChannelMessageSendComplex ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendComplex mocks base method.
func (*MockSession) ChannelMessageSendEmbed ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendEmbed(channelID string, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendEmbed mocks base method.
func (*MockSession) ChannelMessageSendEmbedReply ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendEmbedReply(channelID string, embed *discordgo.MessageEmbed, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendEmbedReply mocks base method.
func (*MockSession) ChannelMessageSendEmbeds ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendEmbeds(channelID string, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendEmbeds mocks base method.
func (*MockSession) ChannelMessageSendEmbedsReply ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendEmbedsReply(channelID string, embeds []*discordgo.MessageEmbed, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendEmbedsReply mocks base method.
func (*MockSession) ChannelMessageSendReply ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendReply(channelID, content string, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendReply mocks base method.
func (*MockSession) ChannelMessageSendTTS ¶ added in v1.2.0
func (m *MockSession) ChannelMessageSendTTS(channelID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error)
ChannelMessageSendTTS mocks base method.
func (*MockSession) ChannelMessageUnpin ¶ added in v1.2.0
func (m *MockSession) ChannelMessageUnpin(channelID, messageID string, options ...discordgo.RequestOption) error
ChannelMessageUnpin mocks base method.
func (*MockSession) ChannelMessages ¶ added in v1.2.0
func (m *MockSession) ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string, options ...discordgo.RequestOption) ([]*discordgo.Message, error)
ChannelMessages mocks base method.
func (*MockSession) ChannelMessagesBulkDelete ¶ added in v1.2.0
func (m *MockSession) ChannelMessagesBulkDelete(channelID string, messages []string, options ...discordgo.RequestOption) error
ChannelMessagesBulkDelete mocks base method.
func (*MockSession) ChannelMessagesPinned ¶ added in v1.2.0
func (m *MockSession) ChannelMessagesPinned(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Message, error)
ChannelMessagesPinned mocks base method.
func (*MockSession) ChannelNewsFollow ¶ added in v1.2.0
func (m *MockSession) ChannelNewsFollow(channelID, targetID string, options ...discordgo.RequestOption) (*discordgo.ChannelFollow, error)
ChannelNewsFollow mocks base method.
func (*MockSession) ChannelPermissionDelete ¶ added in v1.2.0
func (m *MockSession) ChannelPermissionDelete(channelID, targetID string, options ...discordgo.RequestOption) error
ChannelPermissionDelete mocks base method.
func (*MockSession) ChannelPermissionSet ¶ added in v1.2.0
func (m *MockSession) ChannelPermissionSet(channelID, targetID string, targetType discordgo.PermissionOverwriteType, allow, deny int64, options ...discordgo.RequestOption) error
ChannelPermissionSet mocks base method.
func (*MockSession) ChannelTyping ¶ added in v1.2.0
func (m *MockSession) ChannelTyping(channelID string, options ...discordgo.RequestOption) error
ChannelTyping mocks base method.
func (*MockSession) ChannelVoiceJoin ¶ added in v1.2.0
func (m *MockSession) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (*discordgo.VoiceConnection, error)
ChannelVoiceJoin mocks base method.
func (*MockSession) ChannelVoiceJoinManual ¶ added in v1.2.0
func (m *MockSession) ChannelVoiceJoinManual(gID, cID string, mute, deaf bool) error
ChannelVoiceJoinManual mocks base method.
func (*MockSession) ChannelWebhooks ¶ added in v1.2.0
func (m *MockSession) ChannelWebhooks(channelID string, options ...discordgo.RequestOption) ([]*discordgo.Webhook, error)
ChannelWebhooks mocks base method.
func (*MockSession) Close ¶ added in v1.2.0
func (m *MockSession) Close() error
Close mocks base method.
func (*MockSession) CloseWithCode ¶ added in v1.2.0
func (m *MockSession) CloseWithCode(closeCode int) error
CloseWithCode mocks base method.
func (*MockSession) EXPECT ¶ added in v1.2.0
func (m *MockSession) EXPECT() *MockSessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSession) FollowupMessageCreate ¶ added in v1.2.0
func (m *MockSession) FollowupMessageCreate(interaction *discordgo.Interaction, wait bool, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (*discordgo.Message, error)
FollowupMessageCreate mocks base method.
func (*MockSession) FollowupMessageDelete ¶ added in v1.2.0
func (m *MockSession) FollowupMessageDelete(interaction *discordgo.Interaction, messageID string, options ...discordgo.RequestOption) error
FollowupMessageDelete mocks base method.
func (*MockSession) FollowupMessageEdit ¶ added in v1.2.0
func (m *MockSession) FollowupMessageEdit(interaction *discordgo.Interaction, messageID string, data *discordgo.WebhookEdit, options ...discordgo.RequestOption) (*discordgo.Message, error)
FollowupMessageEdit mocks base method.
func (*MockSession) ForumThreadStart ¶ added in v1.2.0
func (m *MockSession) ForumThreadStart(channelID, name string, archiveDuration int, content string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ForumThreadStart mocks base method.
func (*MockSession) ForumThreadStartComplex ¶ added in v1.2.0
func (m *MockSession) ForumThreadStartComplex(channelID string, threadData *discordgo.ThreadStart, messageData *discordgo.MessageSend, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ForumThreadStartComplex mocks base method.
func (*MockSession) ForumThreadStartEmbed ¶ added in v1.2.0
func (m *MockSession) ForumThreadStartEmbed(channelID, name string, archiveDuration int, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ForumThreadStartEmbed mocks base method.
func (*MockSession) ForumThreadStartEmbeds ¶ added in v1.2.0
func (m *MockSession) ForumThreadStartEmbeds(channelID, name string, archiveDuration int, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ForumThreadStartEmbeds mocks base method.
func (*MockSession) Gateway ¶ added in v1.2.0
func (m *MockSession) Gateway(options ...discordgo.RequestOption) (string, error)
Gateway mocks base method.
func (*MockSession) GatewayBot ¶ added in v1.2.0
func (m *MockSession) GatewayBot(options ...discordgo.RequestOption) (*discordgo.GatewayBotResponse, error)
GatewayBot mocks base method.
func (*MockSession) Guild ¶ added in v1.2.0
func (m *MockSession) Guild(guildID string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
Guild mocks base method.
func (*MockSession) GuildApplicationCommandsPermissions ¶ added in v1.2.0
func (m *MockSession) GuildApplicationCommandsPermissions(appID, guildID string, options ...discordgo.RequestOption) ([]*discordgo.GuildApplicationCommandPermissions, error)
GuildApplicationCommandsPermissions mocks base method.
func (*MockSession) GuildAuditLog ¶ added in v1.2.0
func (m *MockSession) GuildAuditLog(guildID, userID, beforeID string, actionType, limit int, options ...discordgo.RequestOption) (*discordgo.GuildAuditLog, error)
GuildAuditLog mocks base method.
func (*MockSession) GuildBan ¶ added in v1.2.0
func (m *MockSession) GuildBan(guildID, userID string, options ...discordgo.RequestOption) (*discordgo.GuildBan, error)
GuildBan mocks base method.
func (*MockSession) GuildBanCreate ¶ added in v1.2.0
func (m *MockSession) GuildBanCreate(guildID, userID string, days int, options ...discordgo.RequestOption) error
GuildBanCreate mocks base method.
func (*MockSession) GuildBanCreateWithReason ¶ added in v1.2.0
func (m *MockSession) GuildBanCreateWithReason(guildID, userID, reason string, days int, options ...discordgo.RequestOption) error
GuildBanCreateWithReason mocks base method.
func (*MockSession) GuildBanDelete ¶ added in v1.2.0
func (m *MockSession) GuildBanDelete(guildID, userID string, options ...discordgo.RequestOption) error
GuildBanDelete mocks base method.
func (*MockSession) GuildBans ¶ added in v1.2.0
func (m *MockSession) GuildBans(guildID string, limit int, beforeID, afterID string, options ...discordgo.RequestOption) ([]*discordgo.GuildBan, error)
GuildBans mocks base method.
func (*MockSession) GuildChannelCreate ¶ added in v1.2.0
func (m *MockSession) GuildChannelCreate(guildID, name string, ctype discordgo.ChannelType, options ...discordgo.RequestOption) (*discordgo.Channel, error)
GuildChannelCreate mocks base method.
func (*MockSession) GuildChannelCreateComplex ¶ added in v1.2.0
func (m *MockSession) GuildChannelCreateComplex(guildID string, data discordgo.GuildChannelCreateData, options ...discordgo.RequestOption) (*discordgo.Channel, error)
GuildChannelCreateComplex mocks base method.
func (*MockSession) GuildChannels ¶ added in v1.2.0
func (m *MockSession) GuildChannels(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Channel, error)
GuildChannels mocks base method.
func (*MockSession) GuildChannelsReorder ¶ added in v1.2.0
func (m *MockSession) GuildChannelsReorder(guildID string, channels []*discordgo.Channel, options ...discordgo.RequestOption) error
GuildChannelsReorder mocks base method.
func (*MockSession) GuildCreate ¶ added in v1.2.0
func (m *MockSession) GuildCreate(name string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
GuildCreate mocks base method.
func (*MockSession) GuildCreateWithTemplate ¶ added in v1.2.0
func (m *MockSession) GuildCreateWithTemplate(templateCode, name, icon string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
GuildCreateWithTemplate mocks base method.
func (*MockSession) GuildDelete ¶ added in v1.2.0
func (m *MockSession) GuildDelete(guildID string, options ...discordgo.RequestOption) error
GuildDelete mocks base method.
func (*MockSession) GuildEdit ¶ added in v1.2.0
func (m *MockSession) GuildEdit(guildID string, g *discordgo.GuildParams, options ...discordgo.RequestOption) (*discordgo.Guild, error)
GuildEdit mocks base method.
func (*MockSession) GuildEmbed ¶ added in v1.2.0
func (m *MockSession) GuildEmbed(guildID string, options ...discordgo.RequestOption) (*discordgo.GuildEmbed, error)
GuildEmbed mocks base method.
func (*MockSession) GuildEmbedEdit ¶ added in v1.2.0
func (m *MockSession) GuildEmbedEdit(guildID string, data *discordgo.GuildEmbed, options ...discordgo.RequestOption) error
GuildEmbedEdit mocks base method.
func (*MockSession) GuildEmoji ¶ added in v1.2.0
func (m *MockSession) GuildEmoji(guildID, emojiID string, options ...discordgo.RequestOption) (*discordgo.Emoji, error)
GuildEmoji mocks base method.
func (*MockSession) GuildEmojiCreate ¶ added in v1.2.0
func (m *MockSession) GuildEmojiCreate(guildID string, data *discordgo.EmojiParams, options ...discordgo.RequestOption) (*discordgo.Emoji, error)
GuildEmojiCreate mocks base method.
func (*MockSession) GuildEmojiDelete ¶ added in v1.2.0
func (m *MockSession) GuildEmojiDelete(guildID, emojiID string, options ...discordgo.RequestOption) error
GuildEmojiDelete mocks base method.
func (*MockSession) GuildEmojiEdit ¶ added in v1.2.0
func (m *MockSession) GuildEmojiEdit(guildID, emojiID string, data *discordgo.EmojiParams, options ...discordgo.RequestOption) (*discordgo.Emoji, error)
GuildEmojiEdit mocks base method.
func (*MockSession) GuildEmojis ¶ added in v1.2.0
func (m *MockSession) GuildEmojis(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Emoji, error)
GuildEmojis mocks base method.
func (*MockSession) GuildIcon ¶ added in v1.2.0
func (m *MockSession) GuildIcon(guildID string, options ...discordgo.RequestOption) (image.Image, error)
GuildIcon mocks base method.
func (*MockSession) GuildIntegrationCreate ¶ added in v1.2.0
func (m *MockSession) GuildIntegrationCreate(guildID, integrationType, integrationID string, options ...discordgo.RequestOption) error
GuildIntegrationCreate mocks base method.
func (*MockSession) GuildIntegrationDelete ¶ added in v1.2.0
func (m *MockSession) GuildIntegrationDelete(guildID, integrationID string, options ...discordgo.RequestOption) error
GuildIntegrationDelete mocks base method.
func (*MockSession) GuildIntegrationEdit ¶ added in v1.2.0
func (m *MockSession) GuildIntegrationEdit(guildID, integrationID string, expireBehavior, expireGracePeriod int, enableEmoticons bool, options ...discordgo.RequestOption) error
GuildIntegrationEdit mocks base method.
func (*MockSession) GuildIntegrations ¶ added in v1.2.0
func (m *MockSession) GuildIntegrations(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Integration, error)
GuildIntegrations mocks base method.
func (*MockSession) GuildInvites ¶ added in v1.2.0
func (m *MockSession) GuildInvites(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Invite, error)
GuildInvites mocks base method.
func (*MockSession) GuildLeave ¶ added in v1.2.0
func (m *MockSession) GuildLeave(guildID string, options ...discordgo.RequestOption) error
GuildLeave mocks base method.
func (*MockSession) GuildMember ¶ added in v1.2.0
func (m *MockSession) GuildMember(guildID, userID string, options ...discordgo.RequestOption) (*discordgo.Member, error)
GuildMember mocks base method.
func (*MockSession) GuildMemberAdd ¶ added in v1.2.0
func (m *MockSession) GuildMemberAdd(guildID, userID string, data *discordgo.GuildMemberAddParams, options ...discordgo.RequestOption) error
GuildMemberAdd mocks base method.
func (*MockSession) GuildMemberDeafen ¶ added in v1.2.0
func (m *MockSession) GuildMemberDeafen(guildID, userID string, deaf bool, options ...discordgo.RequestOption) error
GuildMemberDeafen mocks base method.
func (*MockSession) GuildMemberDelete ¶ added in v1.2.0
func (m *MockSession) GuildMemberDelete(guildID, userID string, options ...discordgo.RequestOption) error
GuildMemberDelete mocks base method.
func (*MockSession) GuildMemberDeleteWithReason ¶ added in v1.2.0
func (m *MockSession) GuildMemberDeleteWithReason(guildID, userID, reason string, options ...discordgo.RequestOption) error
GuildMemberDeleteWithReason mocks base method.
func (*MockSession) GuildMemberEdit ¶ added in v1.2.0
func (m *MockSession) GuildMemberEdit(guildID, userID string, data *discordgo.GuildMemberParams, options ...discordgo.RequestOption) (*discordgo.Member, error)
GuildMemberEdit mocks base method.
func (*MockSession) GuildMemberEditComplex ¶ added in v1.2.0
func (m *MockSession) GuildMemberEditComplex(guildID, userID string, data *discordgo.GuildMemberParams, options ...discordgo.RequestOption) (*discordgo.Member, error)
GuildMemberEditComplex mocks base method.
func (*MockSession) GuildMemberMove ¶ added in v1.2.0
func (m *MockSession) GuildMemberMove(guildID, userID string, channelID *string, options ...discordgo.RequestOption) error
GuildMemberMove mocks base method.
func (*MockSession) GuildMemberMute ¶ added in v1.2.0
func (m *MockSession) GuildMemberMute(guildID, userID string, mute bool, options ...discordgo.RequestOption) error
GuildMemberMute mocks base method.
func (*MockSession) GuildMemberNickname ¶ added in v1.2.0
func (m *MockSession) GuildMemberNickname(guildID, userID, nickname string, options ...discordgo.RequestOption) error
GuildMemberNickname mocks base method.
func (*MockSession) GuildMemberRoleAdd ¶ added in v1.2.0
func (m *MockSession) GuildMemberRoleAdd(guildID, userID, roleID string, options ...discordgo.RequestOption) error
GuildMemberRoleAdd mocks base method.
func (*MockSession) GuildMemberRoleRemove ¶ added in v1.2.0
func (m *MockSession) GuildMemberRoleRemove(guildID, userID, roleID string, options ...discordgo.RequestOption) error
GuildMemberRoleRemove mocks base method.
func (*MockSession) GuildMemberTimeout ¶ added in v1.2.0
func (m *MockSession) GuildMemberTimeout(guildID, userID string, until *time.Time, options ...discordgo.RequestOption) error
GuildMemberTimeout mocks base method.
func (*MockSession) GuildMembers ¶ added in v1.2.0
func (m *MockSession) GuildMembers(guildID, after string, limit int, options ...discordgo.RequestOption) ([]*discordgo.Member, error)
GuildMembers mocks base method.
func (*MockSession) GuildMembersSearch ¶ added in v1.2.0
func (m *MockSession) GuildMembersSearch(guildID, query string, limit int, options ...discordgo.RequestOption) ([]*discordgo.Member, error)
GuildMembersSearch mocks base method.
func (*MockSession) GuildPreview ¶ added in v1.2.0
func (m *MockSession) GuildPreview(guildID string, options ...discordgo.RequestOption) (*discordgo.GuildPreview, error)
GuildPreview mocks base method.
func (*MockSession) GuildPrune ¶ added in v1.2.0
func (m *MockSession) GuildPrune(guildID string, days uint32, options ...discordgo.RequestOption) (uint32, error)
GuildPrune mocks base method.
func (*MockSession) GuildPruneCount ¶ added in v1.2.0
func (m *MockSession) GuildPruneCount(guildID string, days uint32, options ...discordgo.RequestOption) (uint32, error)
GuildPruneCount mocks base method.
func (*MockSession) GuildRoleCreate ¶ added in v1.2.0
func (m *MockSession) GuildRoleCreate(guildID string, data *discordgo.RoleParams, options ...discordgo.RequestOption) (*discordgo.Role, error)
GuildRoleCreate mocks base method.
func (*MockSession) GuildRoleDelete ¶ added in v1.2.0
func (m *MockSession) GuildRoleDelete(guildID, roleID string, options ...discordgo.RequestOption) error
GuildRoleDelete mocks base method.
func (*MockSession) GuildRoleEdit ¶ added in v1.2.0
func (m *MockSession) GuildRoleEdit(guildID, roleID string, data *discordgo.RoleParams, options ...discordgo.RequestOption) (*discordgo.Role, error)
GuildRoleEdit mocks base method.
func (*MockSession) GuildRoleReorder ¶ added in v1.2.0
func (m *MockSession) GuildRoleReorder(guildID string, roles []*discordgo.Role, options ...discordgo.RequestOption) ([]*discordgo.Role, error)
GuildRoleReorder mocks base method.
func (*MockSession) GuildRoles ¶ added in v1.2.0
func (m *MockSession) GuildRoles(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Role, error)
GuildRoles mocks base method.
func (*MockSession) GuildScheduledEvent ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEvent(guildID, eventID string, userCount bool, options ...discordgo.RequestOption) (*discordgo.GuildScheduledEvent, error)
GuildScheduledEvent mocks base method.
func (*MockSession) GuildScheduledEventCreate ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEventCreate(guildID string, event *discordgo.GuildScheduledEventParams, options ...discordgo.RequestOption) (*discordgo.GuildScheduledEvent, error)
GuildScheduledEventCreate mocks base method.
func (*MockSession) GuildScheduledEventDelete ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEventDelete(guildID, eventID string, options ...discordgo.RequestOption) error
GuildScheduledEventDelete mocks base method.
func (*MockSession) GuildScheduledEventEdit ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEventEdit(guildID, eventID string, event *discordgo.GuildScheduledEventParams, options ...discordgo.RequestOption) (*discordgo.GuildScheduledEvent, error)
GuildScheduledEventEdit mocks base method.
func (*MockSession) GuildScheduledEventUsers ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEventUsers(guildID, eventID string, limit int, withMember bool, beforeID, afterID string, options ...discordgo.RequestOption) ([]*discordgo.GuildScheduledEventUser, error)
GuildScheduledEventUsers mocks base method.
func (*MockSession) GuildScheduledEvents ¶ added in v1.2.0
func (m *MockSession) GuildScheduledEvents(guildID string, userCount bool, options ...discordgo.RequestOption) ([]*discordgo.GuildScheduledEvent, error)
GuildScheduledEvents mocks base method.
func (*MockSession) GuildSplash ¶ added in v1.2.0
func (m *MockSession) GuildSplash(guildID string, options ...discordgo.RequestOption) (image.Image, error)
GuildSplash mocks base method.
func (*MockSession) GuildTemplate ¶ added in v1.2.0
func (m *MockSession) GuildTemplate(templateCode string, options ...discordgo.RequestOption) (*discordgo.GuildTemplate, error)
GuildTemplate mocks base method.
func (*MockSession) GuildTemplateCreate ¶ added in v1.2.0
func (m *MockSession) GuildTemplateCreate(guildID string, data *discordgo.GuildTemplateParams, options ...discordgo.RequestOption) *discordgo.GuildTemplate
GuildTemplateCreate mocks base method.
func (*MockSession) GuildTemplateDelete ¶ added in v1.2.0
func (m *MockSession) GuildTemplateDelete(guildID, templateCode string, options ...discordgo.RequestOption) error
GuildTemplateDelete mocks base method.
func (*MockSession) GuildTemplateEdit ¶ added in v1.2.0
func (m *MockSession) GuildTemplateEdit(guildID, templateCode string, data *discordgo.GuildTemplateParams, options ...discordgo.RequestOption) (*discordgo.GuildTemplate, error)
GuildTemplateEdit mocks base method.
func (*MockSession) GuildTemplateSync ¶ added in v1.2.0
func (m *MockSession) GuildTemplateSync(guildID, templateCode string, options ...discordgo.RequestOption) error
GuildTemplateSync mocks base method.
func (*MockSession) GuildTemplates ¶ added in v1.2.0
func (m *MockSession) GuildTemplates(guildID string, options ...discordgo.RequestOption) ([]*discordgo.GuildTemplate, error)
GuildTemplates mocks base method.
func (*MockSession) GuildThreadsActive ¶ added in v1.2.0
func (m *MockSession) GuildThreadsActive(guildID string, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
GuildThreadsActive mocks base method.
func (*MockSession) GuildWebhooks ¶ added in v1.2.0
func (m *MockSession) GuildWebhooks(guildID string, options ...discordgo.RequestOption) ([]*discordgo.Webhook, error)
GuildWebhooks mocks base method.
func (*MockSession) GuildWithCounts ¶ added in v1.2.0
func (m *MockSession) GuildWithCounts(guildID string, options ...discordgo.RequestOption) (*discordgo.Guild, error)
GuildWithCounts mocks base method.
func (*MockSession) HeartbeatLatency ¶ added in v1.2.0
func (m *MockSession) HeartbeatLatency() time.Duration
HeartbeatLatency mocks base method.
func (*MockSession) InteractionRespond ¶ added in v1.2.0
func (m *MockSession) InteractionRespond(interaction *discordgo.Interaction, resp *discordgo.InteractionResponse, options ...discordgo.RequestOption) error
InteractionRespond mocks base method.
func (*MockSession) InteractionResponse ¶ added in v1.2.0
func (m *MockSession) InteractionResponse(interaction *discordgo.Interaction, options ...discordgo.RequestOption) (*discordgo.Message, error)
InteractionResponse mocks base method.
func (*MockSession) InteractionResponseDelete ¶ added in v1.2.0
func (m *MockSession) InteractionResponseDelete(interaction *discordgo.Interaction, options ...discordgo.RequestOption) error
InteractionResponseDelete mocks base method.
func (*MockSession) InteractionResponseEdit ¶ added in v1.2.0
func (m *MockSession) InteractionResponseEdit(interaction *discordgo.Interaction, newresp *discordgo.WebhookEdit, options ...discordgo.RequestOption) (*discordgo.Message, error)
InteractionResponseEdit mocks base method.
func (*MockSession) Invite ¶ added in v1.2.0
func (m *MockSession) Invite(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
Invite mocks base method.
func (*MockSession) InviteAccept ¶ added in v1.2.0
func (m *MockSession) InviteAccept(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
InviteAccept mocks base method.
func (*MockSession) InviteComplex ¶ added in v1.2.0
func (m *MockSession) InviteComplex(inviteID, guildScheduledEventID string, withCounts, withExpiration bool, options ...discordgo.RequestOption) (*discordgo.Invite, error)
InviteComplex mocks base method.
func (*MockSession) InviteDelete ¶ added in v1.2.0
func (m *MockSession) InviteDelete(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
InviteDelete mocks base method.
func (*MockSession) InviteWithCounts ¶ added in v1.2.0
func (m *MockSession) InviteWithCounts(inviteID string, options ...discordgo.RequestOption) (*discordgo.Invite, error)
InviteWithCounts mocks base method.
func (*MockSession) MessageReactionAdd ¶ added in v1.2.0
func (m *MockSession) MessageReactionAdd(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error
MessageReactionAdd mocks base method.
func (*MockSession) MessageReactionRemove ¶ added in v1.2.0
func (m *MockSession) MessageReactionRemove(channelID, messageID, emojiID, userID string, options ...discordgo.RequestOption) error
MessageReactionRemove mocks base method.
func (*MockSession) MessageReactions ¶ added in v1.2.0
func (m *MockSession) MessageReactions(channelID, messageID, emojiID string, limit int, beforeID, afterID string, options ...discordgo.RequestOption) ([]*discordgo.User, error)
MessageReactions mocks base method.
func (*MockSession) MessageReactionsRemoveAll ¶ added in v1.2.0
func (m *MockSession) MessageReactionsRemoveAll(channelID, messageID string, options ...discordgo.RequestOption) error
MessageReactionsRemoveAll mocks base method.
func (*MockSession) MessageReactionsRemoveEmoji ¶ added in v1.2.0
func (m *MockSession) MessageReactionsRemoveEmoji(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error
MessageReactionsRemoveEmoji mocks base method.
func (*MockSession) MessageThreadStart ¶ added in v1.2.0
func (m *MockSession) MessageThreadStart(channelID, messageID, name string, archiveDuration int, options ...discordgo.RequestOption) (*discordgo.Channel, error)
MessageThreadStart mocks base method.
func (*MockSession) MessageThreadStartComplex ¶ added in v1.2.0
func (m *MockSession) MessageThreadStartComplex(channelID, messageID string, data *discordgo.ThreadStart, options ...discordgo.RequestOption) (*discordgo.Channel, error)
MessageThreadStartComplex mocks base method.
func (*MockSession) Open ¶ added in v1.2.0
func (m *MockSession) Open() error
Open mocks base method.
func (*MockSession) Request ¶ added in v1.2.0
func (m *MockSession) Request(method, urlStr string, data any, options ...discordgo.RequestOption) ([]byte, error)
Request mocks base method.
func (*MockSession) RequestGuildMembers ¶ added in v1.2.0
func (m *MockSession) RequestGuildMembers(guildID, query string, limit int, nonce string, presences bool) error
RequestGuildMembers mocks base method.
func (*MockSession) RequestGuildMembersBatch ¶ added in v1.2.0
func (m *MockSession) RequestGuildMembersBatch(guildIDs []string, query string, limit int, nonce string, presences bool) error
RequestGuildMembersBatch mocks base method.
func (*MockSession) RequestGuildMembersBatchList ¶ added in v1.2.0
func (m *MockSession) RequestGuildMembersBatchList(guildIDs, userIDs []string, limit int, nonce string, presences bool) error
RequestGuildMembersBatchList mocks base method.
func (*MockSession) RequestGuildMembersList ¶ added in v1.2.0
func (m *MockSession) RequestGuildMembersList(guildID string, userIDs []string, limit int, nonce string, presences bool) error
RequestGuildMembersList mocks base method.
func (*MockSession) RequestWithBucketID ¶ added in v1.2.0
func (m *MockSession) RequestWithBucketID(method, urlStr string, data any, bucketID string, options ...discordgo.RequestOption) ([]byte, error)
RequestWithBucketID mocks base method.
func (*MockSession) RequestWithLockedBucket ¶ added in v1.2.0
func (m *MockSession) RequestWithLockedBucket(method, urlStr, contentType string, b []byte, bucket *discordgo.Bucket, sequence int, options ...discordgo.RequestOption) ([]byte, error)
RequestWithLockedBucket mocks base method.
func (*MockSession) StageInstance ¶ added in v1.2.0
func (m *MockSession) StageInstance(channelID string, options ...discordgo.RequestOption) (*discordgo.StageInstance, error)
StageInstance mocks base method.
func (*MockSession) StageInstanceCreate ¶ added in v1.2.0
func (m *MockSession) StageInstanceCreate(data *discordgo.StageInstanceParams, options ...discordgo.RequestOption) (*discordgo.StageInstance, error)
StageInstanceCreate mocks base method.
func (*MockSession) StageInstanceDelete ¶ added in v1.2.0
func (m *MockSession) StageInstanceDelete(channelID string, options ...discordgo.RequestOption) error
StageInstanceDelete mocks base method.
func (*MockSession) StageInstanceEdit ¶ added in v1.2.0
func (m *MockSession) StageInstanceEdit(channelID string, data *discordgo.StageInstanceParams, options ...discordgo.RequestOption) (*discordgo.StageInstance, error)
StageInstanceEdit mocks base method.
func (*MockSession) ThreadJoin ¶ added in v1.2.0
func (m *MockSession) ThreadJoin(id string, options ...discordgo.RequestOption) error
ThreadJoin mocks base method.
func (*MockSession) ThreadLeave ¶ added in v1.2.0
func (m *MockSession) ThreadLeave(id string, options ...discordgo.RequestOption) error
ThreadLeave mocks base method.
func (*MockSession) ThreadMember ¶ added in v1.2.0
func (m *MockSession) ThreadMember(arg0, arg1 string, arg2 bool, arg3 ...discordgo.RequestOption) (*discordgo.ThreadMember, error)
ThreadMember mocks base method.
func (*MockSession) ThreadMemberAdd ¶ added in v1.2.0
func (m *MockSession) ThreadMemberAdd(threadID, memberID string, options ...discordgo.RequestOption) error
ThreadMemberAdd mocks base method.
func (*MockSession) ThreadMemberRemove ¶ added in v1.2.0
func (m *MockSession) ThreadMemberRemove(threadID, memberID string, options ...discordgo.RequestOption) error
ThreadMemberRemove mocks base method.
func (*MockSession) ThreadMembers ¶ added in v1.2.0
func (m *MockSession) ThreadMembers(arg0 string, arg1 int, arg2 bool, arg3 string, arg4 ...discordgo.RequestOption) ([]*discordgo.ThreadMember, error)
ThreadMembers mocks base method.
func (*MockSession) ThreadStart ¶ added in v1.2.0
func (m *MockSession) ThreadStart(channelID, name string, typ discordgo.ChannelType, archiveDuration int, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ThreadStart mocks base method.
func (*MockSession) ThreadStartComplex ¶ added in v1.2.0
func (m *MockSession) ThreadStartComplex(channelID string, data *discordgo.ThreadStart, options ...discordgo.RequestOption) (*discordgo.Channel, error)
ThreadStartComplex mocks base method.
func (*MockSession) ThreadsActive ¶ added in v1.2.0
func (m *MockSession) ThreadsActive(channelID string, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
ThreadsActive mocks base method.
func (*MockSession) ThreadsArchived ¶ added in v1.2.0
func (m *MockSession) ThreadsArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
ThreadsArchived mocks base method.
func (*MockSession) ThreadsPrivateArchived ¶ added in v1.2.0
func (m *MockSession) ThreadsPrivateArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
ThreadsPrivateArchived mocks base method.
func (*MockSession) ThreadsPrivateJoinedArchived ¶ added in v1.2.0
func (m *MockSession) ThreadsPrivateJoinedArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (*discordgo.ThreadsList, error)
ThreadsPrivateJoinedArchived mocks base method.
func (*MockSession) UpdateGameStatus ¶ added in v1.2.0
func (m *MockSession) UpdateGameStatus(idle int, name string) error
UpdateGameStatus mocks base method.
func (*MockSession) UpdateListeningStatus ¶ added in v1.2.0
func (m *MockSession) UpdateListeningStatus(name string) error
UpdateListeningStatus mocks base method.
func (*MockSession) UpdateStatusComplex ¶ added in v1.2.0
func (m *MockSession) UpdateStatusComplex(usd discordgo.UpdateStatusData) error
UpdateStatusComplex mocks base method.
func (*MockSession) UpdateStreamingStatus ¶ added in v1.2.0
func (m *MockSession) UpdateStreamingStatus(idle int, name, url string) error
UpdateStreamingStatus mocks base method.
func (*MockSession) UpdateWatchStatus ¶ added in v1.2.0
func (m *MockSession) UpdateWatchStatus(idle int, name string) error
UpdateWatchStatus mocks base method.
func (*MockSession) User ¶ added in v1.2.0
func (m *MockSession) User(userID string, options ...discordgo.RequestOption) (*discordgo.User, error)
User mocks base method.
func (*MockSession) UserApplicationRoleConnection ¶ added in v1.2.0
func (m *MockSession) UserApplicationRoleConnection(appID string) (*discordgo.ApplicationRoleConnection, error)
UserApplicationRoleConnection mocks base method.
func (*MockSession) UserApplicationRoleConnectionUpdate ¶ added in v1.2.0
func (m *MockSession) UserApplicationRoleConnectionUpdate(appID string, rconn *discordgo.ApplicationRoleConnection) (*discordgo.ApplicationRoleConnection, error)
UserApplicationRoleConnectionUpdate mocks base method.
func (*MockSession) UserAvatar ¶ added in v1.2.0
func (m *MockSession) UserAvatar(userID string, options ...discordgo.RequestOption) (image.Image, error)
UserAvatar mocks base method.
func (*MockSession) UserAvatarDecode ¶ added in v1.2.0
func (m *MockSession) UserAvatarDecode(u *discordgo.User, options ...discordgo.RequestOption) (image.Image, error)
UserAvatarDecode mocks base method.
func (*MockSession) UserChannelCreate ¶ added in v1.2.0
func (m *MockSession) UserChannelCreate(recipientID string, options ...discordgo.RequestOption) (*discordgo.Channel, error)
UserChannelCreate mocks base method.
func (*MockSession) UserChannelPermissions ¶ added in v1.2.0
func (m *MockSession) UserChannelPermissions(userID, channelID string, fetchOptions ...discordgo.RequestOption) (int64, error)
UserChannelPermissions mocks base method.
func (*MockSession) UserConnections ¶ added in v1.2.0
func (m *MockSession) UserConnections(options ...discordgo.RequestOption) ([]*discordgo.UserConnection, error)
UserConnections mocks base method.
func (*MockSession) UserGuildMember ¶ added in v1.2.0
func (m *MockSession) UserGuildMember(guildID string, options ...discordgo.RequestOption) (*discordgo.Member, error)
UserGuildMember mocks base method.
func (*MockSession) UserGuilds ¶ added in v1.2.0
func (m *MockSession) UserGuilds(arg0 int, arg1, arg2 string, arg3 bool, arg4 ...discordgo.RequestOption) ([]*discordgo.UserGuild, error)
UserGuilds mocks base method.
func (*MockSession) UserUpdate ¶ added in v1.2.0
func (m *MockSession) UserUpdate(username, avatar string, options ...discordgo.RequestOption) (*discordgo.User, error)
UserUpdate mocks base method.
func (*MockSession) VoiceRegions ¶ added in v1.2.0
func (m *MockSession) VoiceRegions(options ...discordgo.RequestOption) ([]*discordgo.VoiceRegion, error)
VoiceRegions mocks base method.
func (*MockSession) Webhook ¶ added in v1.2.0
func (m *MockSession) Webhook(webhookID string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
Webhook mocks base method.
func (*MockSession) WebhookCreate ¶ added in v1.2.0
func (m *MockSession) WebhookCreate(channelID, name, avatar string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
WebhookCreate mocks base method.
func (*MockSession) WebhookDelete ¶ added in v1.2.0
func (m *MockSession) WebhookDelete(webhookID string, options ...discordgo.RequestOption) error
WebhookDelete mocks base method.
func (*MockSession) WebhookDeleteWithToken ¶ added in v1.2.0
func (m *MockSession) WebhookDeleteWithToken(webhookID, token string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
WebhookDeleteWithToken mocks base method.
func (*MockSession) WebhookEdit ¶ added in v1.2.0
func (m *MockSession) WebhookEdit(arg0, arg1, arg2, arg3 string, arg4 ...discordgo.RequestOption) (*discordgo.Webhook, error)
WebhookEdit mocks base method.
func (*MockSession) WebhookEditWithToken ¶ added in v1.2.0
func (m *MockSession) WebhookEditWithToken(arg0, arg1, arg2, arg3 string, arg4 ...discordgo.RequestOption) (*discordgo.Webhook, error)
WebhookEditWithToken mocks base method.
func (*MockSession) WebhookExecute ¶ added in v1.2.0
func (m *MockSession) WebhookExecute(webhookID, token string, wait bool, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (*discordgo.Message, error)
WebhookExecute mocks base method.
func (*MockSession) WebhookMessage ¶ added in v1.2.0
func (m *MockSession) WebhookMessage(webhookID, token, messageID string, options ...discordgo.RequestOption) (*discordgo.Message, error)
WebhookMessage mocks base method.
func (*MockSession) WebhookMessageDelete ¶ added in v1.2.0
func (m *MockSession) WebhookMessageDelete(webhookID, token, messageID string, options ...discordgo.RequestOption) error
WebhookMessageDelete mocks base method.
func (*MockSession) WebhookMessageEdit ¶ added in v1.2.0
func (m *MockSession) WebhookMessageEdit(webhookID, token, messageID string, data *discordgo.WebhookEdit, options ...discordgo.RequestOption) (*discordgo.Message, error)
WebhookMessageEdit mocks base method.
func (*MockSession) WebhookThreadExecute ¶ added in v1.2.0
func (m *MockSession) WebhookThreadExecute(webhookID, token string, wait bool, threadID string, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (*discordgo.Message, error)
WebhookThreadExecute mocks base method.
func (*MockSession) WebhookWithToken ¶ added in v1.2.0
func (m *MockSession) WebhookWithToken(webhookID, token string, options ...discordgo.RequestOption) (*discordgo.Webhook, error)
WebhookWithToken mocks base method.
type MockSessionMockRecorder ¶ added in v1.2.0
type MockSessionMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionMockRecorder is the mock recorder for MockSession.
func (*MockSessionMockRecorder) AddHandler ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AddHandler(handler any) *gomock.Call
AddHandler indicates an expected call of AddHandler.
func (*MockSessionMockRecorder) AddHandlerOnce ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AddHandlerOnce(handler any) *gomock.Call
AddHandlerOnce indicates an expected call of AddHandlerOnce.
func (*MockSessionMockRecorder) ApplicationCommand ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommand(appID, guildID, cmdID any, options ...any) *gomock.Call
ApplicationCommand indicates an expected call of ApplicationCommand.
func (*MockSessionMockRecorder) ApplicationCommandBulkOverwrite ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandBulkOverwrite(appID, guildID, commands any, options ...any) *gomock.Call
ApplicationCommandBulkOverwrite indicates an expected call of ApplicationCommandBulkOverwrite.
func (*MockSessionMockRecorder) ApplicationCommandCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandCreate(appID, guildID, cmd any, options ...any) *gomock.Call
ApplicationCommandCreate indicates an expected call of ApplicationCommandCreate.
func (*MockSessionMockRecorder) ApplicationCommandDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandDelete(appID, guildID, cmdID any, options ...any) *gomock.Call
ApplicationCommandDelete indicates an expected call of ApplicationCommandDelete.
func (*MockSessionMockRecorder) ApplicationCommandEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandEdit(appID, guildID, cmdID, cmd any, options ...any) *gomock.Call
ApplicationCommandEdit indicates an expected call of ApplicationCommandEdit.
func (*MockSessionMockRecorder) ApplicationCommandPermissions ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandPermissions(appID, guildID, cmdID any, options ...any) *gomock.Call
ApplicationCommandPermissions indicates an expected call of ApplicationCommandPermissions.
func (*MockSessionMockRecorder) ApplicationCommandPermissionsBatchEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandPermissionsBatchEdit(appID, guildID, permissions any, options ...any) *gomock.Call
ApplicationCommandPermissionsBatchEdit indicates an expected call of ApplicationCommandPermissionsBatchEdit.
func (*MockSessionMockRecorder) ApplicationCommandPermissionsEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommandPermissionsEdit(appID, guildID, cmdID, permissions any, options ...any) *gomock.Call
ApplicationCommandPermissionsEdit indicates an expected call of ApplicationCommandPermissionsEdit.
func (*MockSessionMockRecorder) ApplicationCommands ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationCommands(appID, guildID any, options ...any) *gomock.Call
ApplicationCommands indicates an expected call of ApplicationCommands.
func (*MockSessionMockRecorder) ApplicationRoleConnectionMetadata ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationRoleConnectionMetadata(appID any) *gomock.Call
ApplicationRoleConnectionMetadata indicates an expected call of ApplicationRoleConnectionMetadata.
func (*MockSessionMockRecorder) ApplicationRoleConnectionMetadataUpdate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ApplicationRoleConnectionMetadataUpdate(appID, metadata any) *gomock.Call
ApplicationRoleConnectionMetadataUpdate indicates an expected call of ApplicationRoleConnectionMetadataUpdate.
func (*MockSessionMockRecorder) AutoModerationRule ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AutoModerationRule(guildID, ruleID any, options ...any) *gomock.Call
AutoModerationRule indicates an expected call of AutoModerationRule.
func (*MockSessionMockRecorder) AutoModerationRuleCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AutoModerationRuleCreate(guildID, rule any, options ...any) *gomock.Call
AutoModerationRuleCreate indicates an expected call of AutoModerationRuleCreate.
func (*MockSessionMockRecorder) AutoModerationRuleDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AutoModerationRuleDelete(guildID, ruleID any, options ...any) *gomock.Call
AutoModerationRuleDelete indicates an expected call of AutoModerationRuleDelete.
func (*MockSessionMockRecorder) AutoModerationRuleEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AutoModerationRuleEdit(guildID, ruleID, rule any, options ...any) *gomock.Call
AutoModerationRuleEdit indicates an expected call of AutoModerationRuleEdit.
func (*MockSessionMockRecorder) AutoModerationRules ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) AutoModerationRules(guildID any, options ...any) *gomock.Call
AutoModerationRules indicates an expected call of AutoModerationRules.
func (*MockSessionMockRecorder) Channel ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Channel(channelID any, options ...any) *gomock.Call
Channel indicates an expected call of Channel.
func (*MockSessionMockRecorder) ChannelDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelDelete(channelID any, options ...any) *gomock.Call
ChannelDelete indicates an expected call of ChannelDelete.
func (*MockSessionMockRecorder) ChannelEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelEdit(channelID, data any, options ...any) *gomock.Call
ChannelEdit indicates an expected call of ChannelEdit.
func (*MockSessionMockRecorder) ChannelEditComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelEditComplex(channelID, data any, options ...any) *gomock.Call
ChannelEditComplex indicates an expected call of ChannelEditComplex.
func (*MockSessionMockRecorder) ChannelFileSend ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelFileSend(channelID, name, r any, options ...any) *gomock.Call
ChannelFileSend indicates an expected call of ChannelFileSend.
func (*MockSessionMockRecorder) ChannelFileSendWithMessage ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelFileSendWithMessage(channelID, content, name, r any, options ...any) *gomock.Call
ChannelFileSendWithMessage indicates an expected call of ChannelFileSendWithMessage.
func (*MockSessionMockRecorder) ChannelInviteCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelInviteCreate(channelID, i any, options ...any) *gomock.Call
ChannelInviteCreate indicates an expected call of ChannelInviteCreate.
func (*MockSessionMockRecorder) ChannelInvites ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelInvites(channelID any, options ...any) *gomock.Call
ChannelInvites indicates an expected call of ChannelInvites.
func (*MockSessionMockRecorder) ChannelMessage ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessage(channelID, messageID any, options ...any) *gomock.Call
ChannelMessage indicates an expected call of ChannelMessage.
func (*MockSessionMockRecorder) ChannelMessageCrosspost ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageCrosspost(channelID, messageID any, options ...any) *gomock.Call
ChannelMessageCrosspost indicates an expected call of ChannelMessageCrosspost.
func (*MockSessionMockRecorder) ChannelMessageDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageDelete(channelID, messageID any, options ...any) *gomock.Call
ChannelMessageDelete indicates an expected call of ChannelMessageDelete.
func (*MockSessionMockRecorder) ChannelMessageEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageEdit(channelID, messageID, content any, options ...any) *gomock.Call
ChannelMessageEdit indicates an expected call of ChannelMessageEdit.
func (*MockSessionMockRecorder) ChannelMessageEditComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageEditComplex(m any, options ...any) *gomock.Call
ChannelMessageEditComplex indicates an expected call of ChannelMessageEditComplex.
func (*MockSessionMockRecorder) ChannelMessageEditEmbed ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageEditEmbed(channelID, messageID, embed any, options ...any) *gomock.Call
ChannelMessageEditEmbed indicates an expected call of ChannelMessageEditEmbed.
func (*MockSessionMockRecorder) ChannelMessageEditEmbeds ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageEditEmbeds(channelID, messageID, embeds any, options ...any) *gomock.Call
ChannelMessageEditEmbeds indicates an expected call of ChannelMessageEditEmbeds.
func (*MockSessionMockRecorder) ChannelMessagePin ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessagePin(channelID, messageID any, options ...any) *gomock.Call
ChannelMessagePin indicates an expected call of ChannelMessagePin.
func (*MockSessionMockRecorder) ChannelMessageSend ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSend(channelID, content any, options ...any) *gomock.Call
ChannelMessageSend indicates an expected call of ChannelMessageSend.
func (*MockSessionMockRecorder) ChannelMessageSendComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendComplex(channelID, data any, options ...any) *gomock.Call
ChannelMessageSendComplex indicates an expected call of ChannelMessageSendComplex.
func (*MockSessionMockRecorder) ChannelMessageSendEmbed ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendEmbed(channelID, embed any, options ...any) *gomock.Call
ChannelMessageSendEmbed indicates an expected call of ChannelMessageSendEmbed.
func (*MockSessionMockRecorder) ChannelMessageSendEmbedReply ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendEmbedReply(channelID, embed, reference any, options ...any) *gomock.Call
ChannelMessageSendEmbedReply indicates an expected call of ChannelMessageSendEmbedReply.
func (*MockSessionMockRecorder) ChannelMessageSendEmbeds ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendEmbeds(channelID, embeds any, options ...any) *gomock.Call
ChannelMessageSendEmbeds indicates an expected call of ChannelMessageSendEmbeds.
func (*MockSessionMockRecorder) ChannelMessageSendEmbedsReply ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendEmbedsReply(channelID, embeds, reference any, options ...any) *gomock.Call
ChannelMessageSendEmbedsReply indicates an expected call of ChannelMessageSendEmbedsReply.
func (*MockSessionMockRecorder) ChannelMessageSendReply ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendReply(channelID, content, reference any, options ...any) *gomock.Call
ChannelMessageSendReply indicates an expected call of ChannelMessageSendReply.
func (*MockSessionMockRecorder) ChannelMessageSendTTS ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageSendTTS(channelID, content any, options ...any) *gomock.Call
ChannelMessageSendTTS indicates an expected call of ChannelMessageSendTTS.
func (*MockSessionMockRecorder) ChannelMessageUnpin ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessageUnpin(channelID, messageID any, options ...any) *gomock.Call
ChannelMessageUnpin indicates an expected call of ChannelMessageUnpin.
func (*MockSessionMockRecorder) ChannelMessages ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessages(channelID, limit, beforeID, afterID, aroundID any, options ...any) *gomock.Call
ChannelMessages indicates an expected call of ChannelMessages.
func (*MockSessionMockRecorder) ChannelMessagesBulkDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessagesBulkDelete(channelID, messages any, options ...any) *gomock.Call
ChannelMessagesBulkDelete indicates an expected call of ChannelMessagesBulkDelete.
func (*MockSessionMockRecorder) ChannelMessagesPinned ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelMessagesPinned(channelID any, options ...any) *gomock.Call
ChannelMessagesPinned indicates an expected call of ChannelMessagesPinned.
func (*MockSessionMockRecorder) ChannelNewsFollow ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelNewsFollow(channelID, targetID any, options ...any) *gomock.Call
ChannelNewsFollow indicates an expected call of ChannelNewsFollow.
func (*MockSessionMockRecorder) ChannelPermissionDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelPermissionDelete(channelID, targetID any, options ...any) *gomock.Call
ChannelPermissionDelete indicates an expected call of ChannelPermissionDelete.
func (*MockSessionMockRecorder) ChannelPermissionSet ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelPermissionSet(channelID, targetID, targetType, allow, deny any, options ...any) *gomock.Call
ChannelPermissionSet indicates an expected call of ChannelPermissionSet.
func (*MockSessionMockRecorder) ChannelTyping ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelTyping(channelID any, options ...any) *gomock.Call
ChannelTyping indicates an expected call of ChannelTyping.
func (*MockSessionMockRecorder) ChannelVoiceJoin ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelVoiceJoin(gID, cID, mute, deaf any) *gomock.Call
ChannelVoiceJoin indicates an expected call of ChannelVoiceJoin.
func (*MockSessionMockRecorder) ChannelVoiceJoinManual ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelVoiceJoinManual(gID, cID, mute, deaf any) *gomock.Call
ChannelVoiceJoinManual indicates an expected call of ChannelVoiceJoinManual.
func (*MockSessionMockRecorder) ChannelWebhooks ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ChannelWebhooks(channelID any, options ...any) *gomock.Call
ChannelWebhooks indicates an expected call of ChannelWebhooks.
func (*MockSessionMockRecorder) Close ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSessionMockRecorder) CloseWithCode ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) CloseWithCode(closeCode any) *gomock.Call
CloseWithCode indicates an expected call of CloseWithCode.
func (*MockSessionMockRecorder) FollowupMessageCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) FollowupMessageCreate(interaction, wait, data any, options ...any) *gomock.Call
FollowupMessageCreate indicates an expected call of FollowupMessageCreate.
func (*MockSessionMockRecorder) FollowupMessageDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) FollowupMessageDelete(interaction, messageID any, options ...any) *gomock.Call
FollowupMessageDelete indicates an expected call of FollowupMessageDelete.
func (*MockSessionMockRecorder) FollowupMessageEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) FollowupMessageEdit(interaction, messageID, data any, options ...any) *gomock.Call
FollowupMessageEdit indicates an expected call of FollowupMessageEdit.
func (*MockSessionMockRecorder) ForumThreadStart ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ForumThreadStart(channelID, name, archiveDuration, content any, options ...any) *gomock.Call
ForumThreadStart indicates an expected call of ForumThreadStart.
func (*MockSessionMockRecorder) ForumThreadStartComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ForumThreadStartComplex(channelID, threadData, messageData any, options ...any) *gomock.Call
ForumThreadStartComplex indicates an expected call of ForumThreadStartComplex.
func (*MockSessionMockRecorder) ForumThreadStartEmbed ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ForumThreadStartEmbed(channelID, name, archiveDuration, embed any, options ...any) *gomock.Call
ForumThreadStartEmbed indicates an expected call of ForumThreadStartEmbed.
func (*MockSessionMockRecorder) ForumThreadStartEmbeds ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ForumThreadStartEmbeds(channelID, name, archiveDuration, embeds any, options ...any) *gomock.Call
ForumThreadStartEmbeds indicates an expected call of ForumThreadStartEmbeds.
func (*MockSessionMockRecorder) Gateway ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Gateway(options ...any) *gomock.Call
Gateway indicates an expected call of Gateway.
func (*MockSessionMockRecorder) GatewayBot ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GatewayBot(options ...any) *gomock.Call
GatewayBot indicates an expected call of GatewayBot.
func (*MockSessionMockRecorder) Guild ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Guild(guildID any, options ...any) *gomock.Call
Guild indicates an expected call of Guild.
func (*MockSessionMockRecorder) GuildApplicationCommandsPermissions ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildApplicationCommandsPermissions(appID, guildID any, options ...any) *gomock.Call
GuildApplicationCommandsPermissions indicates an expected call of GuildApplicationCommandsPermissions.
func (*MockSessionMockRecorder) GuildAuditLog ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildAuditLog(guildID, userID, beforeID, actionType, limit any, options ...any) *gomock.Call
GuildAuditLog indicates an expected call of GuildAuditLog.
func (*MockSessionMockRecorder) GuildBan ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildBan(guildID, userID any, options ...any) *gomock.Call
GuildBan indicates an expected call of GuildBan.
func (*MockSessionMockRecorder) GuildBanCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildBanCreate(guildID, userID, days any, options ...any) *gomock.Call
GuildBanCreate indicates an expected call of GuildBanCreate.
func (*MockSessionMockRecorder) GuildBanCreateWithReason ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildBanCreateWithReason(guildID, userID, reason, days any, options ...any) *gomock.Call
GuildBanCreateWithReason indicates an expected call of GuildBanCreateWithReason.
func (*MockSessionMockRecorder) GuildBanDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildBanDelete(guildID, userID any, options ...any) *gomock.Call
GuildBanDelete indicates an expected call of GuildBanDelete.
func (*MockSessionMockRecorder) GuildBans ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildBans(guildID, limit, beforeID, afterID any, options ...any) *gomock.Call
GuildBans indicates an expected call of GuildBans.
func (*MockSessionMockRecorder) GuildChannelCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildChannelCreate(guildID, name, ctype any, options ...any) *gomock.Call
GuildChannelCreate indicates an expected call of GuildChannelCreate.
func (*MockSessionMockRecorder) GuildChannelCreateComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildChannelCreateComplex(guildID, data any, options ...any) *gomock.Call
GuildChannelCreateComplex indicates an expected call of GuildChannelCreateComplex.
func (*MockSessionMockRecorder) GuildChannels ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildChannels(guildID any, options ...any) *gomock.Call
GuildChannels indicates an expected call of GuildChannels.
func (*MockSessionMockRecorder) GuildChannelsReorder ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildChannelsReorder(guildID, channels any, options ...any) *gomock.Call
GuildChannelsReorder indicates an expected call of GuildChannelsReorder.
func (*MockSessionMockRecorder) GuildCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildCreate(name any, options ...any) *gomock.Call
GuildCreate indicates an expected call of GuildCreate.
func (*MockSessionMockRecorder) GuildCreateWithTemplate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildCreateWithTemplate(templateCode, name, icon any, options ...any) *gomock.Call
GuildCreateWithTemplate indicates an expected call of GuildCreateWithTemplate.
func (*MockSessionMockRecorder) GuildDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildDelete(guildID any, options ...any) *gomock.Call
GuildDelete indicates an expected call of GuildDelete.
func (*MockSessionMockRecorder) GuildEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEdit(guildID, g any, options ...any) *gomock.Call
GuildEdit indicates an expected call of GuildEdit.
func (*MockSessionMockRecorder) GuildEmbed ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmbed(guildID any, options ...any) *gomock.Call
GuildEmbed indicates an expected call of GuildEmbed.
func (*MockSessionMockRecorder) GuildEmbedEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmbedEdit(guildID, data any, options ...any) *gomock.Call
GuildEmbedEdit indicates an expected call of GuildEmbedEdit.
func (*MockSessionMockRecorder) GuildEmoji ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmoji(guildID, emojiID any, options ...any) *gomock.Call
GuildEmoji indicates an expected call of GuildEmoji.
func (*MockSessionMockRecorder) GuildEmojiCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmojiCreate(guildID, data any, options ...any) *gomock.Call
GuildEmojiCreate indicates an expected call of GuildEmojiCreate.
func (*MockSessionMockRecorder) GuildEmojiDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmojiDelete(guildID, emojiID any, options ...any) *gomock.Call
GuildEmojiDelete indicates an expected call of GuildEmojiDelete.
func (*MockSessionMockRecorder) GuildEmojiEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmojiEdit(guildID, emojiID, data any, options ...any) *gomock.Call
GuildEmojiEdit indicates an expected call of GuildEmojiEdit.
func (*MockSessionMockRecorder) GuildEmojis ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildEmojis(guildID any, options ...any) *gomock.Call
GuildEmojis indicates an expected call of GuildEmojis.
func (*MockSessionMockRecorder) GuildIcon ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildIcon(guildID any, options ...any) *gomock.Call
GuildIcon indicates an expected call of GuildIcon.
func (*MockSessionMockRecorder) GuildIntegrationCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildIntegrationCreate(guildID, integrationType, integrationID any, options ...any) *gomock.Call
GuildIntegrationCreate indicates an expected call of GuildIntegrationCreate.
func (*MockSessionMockRecorder) GuildIntegrationDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildIntegrationDelete(guildID, integrationID any, options ...any) *gomock.Call
GuildIntegrationDelete indicates an expected call of GuildIntegrationDelete.
func (*MockSessionMockRecorder) GuildIntegrationEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildIntegrationEdit(guildID, integrationID, expireBehavior, expireGracePeriod, enableEmoticons any, options ...any) *gomock.Call
GuildIntegrationEdit indicates an expected call of GuildIntegrationEdit.
func (*MockSessionMockRecorder) GuildIntegrations ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildIntegrations(guildID any, options ...any) *gomock.Call
GuildIntegrations indicates an expected call of GuildIntegrations.
func (*MockSessionMockRecorder) GuildInvites ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildInvites(guildID any, options ...any) *gomock.Call
GuildInvites indicates an expected call of GuildInvites.
func (*MockSessionMockRecorder) GuildLeave ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildLeave(guildID any, options ...any) *gomock.Call
GuildLeave indicates an expected call of GuildLeave.
func (*MockSessionMockRecorder) GuildMember ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMember(guildID, userID any, options ...any) *gomock.Call
GuildMember indicates an expected call of GuildMember.
func (*MockSessionMockRecorder) GuildMemberAdd ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberAdd(guildID, userID, data any, options ...any) *gomock.Call
GuildMemberAdd indicates an expected call of GuildMemberAdd.
func (*MockSessionMockRecorder) GuildMemberDeafen ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberDeafen(guildID, userID, deaf any, options ...any) *gomock.Call
GuildMemberDeafen indicates an expected call of GuildMemberDeafen.
func (*MockSessionMockRecorder) GuildMemberDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberDelete(guildID, userID any, options ...any) *gomock.Call
GuildMemberDelete indicates an expected call of GuildMemberDelete.
func (*MockSessionMockRecorder) GuildMemberDeleteWithReason ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberDeleteWithReason(guildID, userID, reason any, options ...any) *gomock.Call
GuildMemberDeleteWithReason indicates an expected call of GuildMemberDeleteWithReason.
func (*MockSessionMockRecorder) GuildMemberEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberEdit(guildID, userID, data any, options ...any) *gomock.Call
GuildMemberEdit indicates an expected call of GuildMemberEdit.
func (*MockSessionMockRecorder) GuildMemberEditComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberEditComplex(guildID, userID, data any, options ...any) *gomock.Call
GuildMemberEditComplex indicates an expected call of GuildMemberEditComplex.
func (*MockSessionMockRecorder) GuildMemberMove ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberMove(guildID, userID, channelID any, options ...any) *gomock.Call
GuildMemberMove indicates an expected call of GuildMemberMove.
func (*MockSessionMockRecorder) GuildMemberMute ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberMute(guildID, userID, mute any, options ...any) *gomock.Call
GuildMemberMute indicates an expected call of GuildMemberMute.
func (*MockSessionMockRecorder) GuildMemberNickname ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberNickname(guildID, userID, nickname any, options ...any) *gomock.Call
GuildMemberNickname indicates an expected call of GuildMemberNickname.
func (*MockSessionMockRecorder) GuildMemberRoleAdd ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberRoleAdd(guildID, userID, roleID any, options ...any) *gomock.Call
GuildMemberRoleAdd indicates an expected call of GuildMemberRoleAdd.
func (*MockSessionMockRecorder) GuildMemberRoleRemove ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberRoleRemove(guildID, userID, roleID any, options ...any) *gomock.Call
GuildMemberRoleRemove indicates an expected call of GuildMemberRoleRemove.
func (*MockSessionMockRecorder) GuildMemberTimeout ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMemberTimeout(guildID, userID, until any, options ...any) *gomock.Call
GuildMemberTimeout indicates an expected call of GuildMemberTimeout.
func (*MockSessionMockRecorder) GuildMembers ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMembers(guildID, after, limit any, options ...any) *gomock.Call
GuildMembers indicates an expected call of GuildMembers.
func (*MockSessionMockRecorder) GuildMembersSearch ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildMembersSearch(guildID, query, limit any, options ...any) *gomock.Call
GuildMembersSearch indicates an expected call of GuildMembersSearch.
func (*MockSessionMockRecorder) GuildPreview ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildPreview(guildID any, options ...any) *gomock.Call
GuildPreview indicates an expected call of GuildPreview.
func (*MockSessionMockRecorder) GuildPrune ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildPrune(guildID, days any, options ...any) *gomock.Call
GuildPrune indicates an expected call of GuildPrune.
func (*MockSessionMockRecorder) GuildPruneCount ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildPruneCount(guildID, days any, options ...any) *gomock.Call
GuildPruneCount indicates an expected call of GuildPruneCount.
func (*MockSessionMockRecorder) GuildRoleCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildRoleCreate(guildID, data any, options ...any) *gomock.Call
GuildRoleCreate indicates an expected call of GuildRoleCreate.
func (*MockSessionMockRecorder) GuildRoleDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildRoleDelete(guildID, roleID any, options ...any) *gomock.Call
GuildRoleDelete indicates an expected call of GuildRoleDelete.
func (*MockSessionMockRecorder) GuildRoleEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildRoleEdit(guildID, roleID, data any, options ...any) *gomock.Call
GuildRoleEdit indicates an expected call of GuildRoleEdit.
func (*MockSessionMockRecorder) GuildRoleReorder ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildRoleReorder(guildID, roles any, options ...any) *gomock.Call
GuildRoleReorder indicates an expected call of GuildRoleReorder.
func (*MockSessionMockRecorder) GuildRoles ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildRoles(guildID any, options ...any) *gomock.Call
GuildRoles indicates an expected call of GuildRoles.
func (*MockSessionMockRecorder) GuildScheduledEvent ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEvent(guildID, eventID, userCount any, options ...any) *gomock.Call
GuildScheduledEvent indicates an expected call of GuildScheduledEvent.
func (*MockSessionMockRecorder) GuildScheduledEventCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEventCreate(guildID, event any, options ...any) *gomock.Call
GuildScheduledEventCreate indicates an expected call of GuildScheduledEventCreate.
func (*MockSessionMockRecorder) GuildScheduledEventDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEventDelete(guildID, eventID any, options ...any) *gomock.Call
GuildScheduledEventDelete indicates an expected call of GuildScheduledEventDelete.
func (*MockSessionMockRecorder) GuildScheduledEventEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEventEdit(guildID, eventID, event any, options ...any) *gomock.Call
GuildScheduledEventEdit indicates an expected call of GuildScheduledEventEdit.
func (*MockSessionMockRecorder) GuildScheduledEventUsers ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEventUsers(guildID, eventID, limit, withMember, beforeID, afterID any, options ...any) *gomock.Call
GuildScheduledEventUsers indicates an expected call of GuildScheduledEventUsers.
func (*MockSessionMockRecorder) GuildScheduledEvents ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildScheduledEvents(guildID, userCount any, options ...any) *gomock.Call
GuildScheduledEvents indicates an expected call of GuildScheduledEvents.
func (*MockSessionMockRecorder) GuildSplash ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildSplash(guildID any, options ...any) *gomock.Call
GuildSplash indicates an expected call of GuildSplash.
func (*MockSessionMockRecorder) GuildTemplate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplate(templateCode any, options ...any) *gomock.Call
GuildTemplate indicates an expected call of GuildTemplate.
func (*MockSessionMockRecorder) GuildTemplateCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplateCreate(guildID, data any, options ...any) *gomock.Call
GuildTemplateCreate indicates an expected call of GuildTemplateCreate.
func (*MockSessionMockRecorder) GuildTemplateDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplateDelete(guildID, templateCode any, options ...any) *gomock.Call
GuildTemplateDelete indicates an expected call of GuildTemplateDelete.
func (*MockSessionMockRecorder) GuildTemplateEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplateEdit(guildID, templateCode, data any, options ...any) *gomock.Call
GuildTemplateEdit indicates an expected call of GuildTemplateEdit.
func (*MockSessionMockRecorder) GuildTemplateSync ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplateSync(guildID, templateCode any, options ...any) *gomock.Call
GuildTemplateSync indicates an expected call of GuildTemplateSync.
func (*MockSessionMockRecorder) GuildTemplates ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildTemplates(guildID any, options ...any) *gomock.Call
GuildTemplates indicates an expected call of GuildTemplates.
func (*MockSessionMockRecorder) GuildThreadsActive ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildThreadsActive(guildID any, options ...any) *gomock.Call
GuildThreadsActive indicates an expected call of GuildThreadsActive.
func (*MockSessionMockRecorder) GuildWebhooks ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildWebhooks(guildID any, options ...any) *gomock.Call
GuildWebhooks indicates an expected call of GuildWebhooks.
func (*MockSessionMockRecorder) GuildWithCounts ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) GuildWithCounts(guildID any, options ...any) *gomock.Call
GuildWithCounts indicates an expected call of GuildWithCounts.
func (*MockSessionMockRecorder) HeartbeatLatency ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) HeartbeatLatency() *gomock.Call
HeartbeatLatency indicates an expected call of HeartbeatLatency.
func (*MockSessionMockRecorder) InteractionRespond ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InteractionRespond(interaction, resp any, options ...any) *gomock.Call
InteractionRespond indicates an expected call of InteractionRespond.
func (*MockSessionMockRecorder) InteractionResponse ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InteractionResponse(interaction any, options ...any) *gomock.Call
InteractionResponse indicates an expected call of InteractionResponse.
func (*MockSessionMockRecorder) InteractionResponseDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InteractionResponseDelete(interaction any, options ...any) *gomock.Call
InteractionResponseDelete indicates an expected call of InteractionResponseDelete.
func (*MockSessionMockRecorder) InteractionResponseEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InteractionResponseEdit(interaction, newresp any, options ...any) *gomock.Call
InteractionResponseEdit indicates an expected call of InteractionResponseEdit.
func (*MockSessionMockRecorder) Invite ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Invite(inviteID any, options ...any) *gomock.Call
Invite indicates an expected call of Invite.
func (*MockSessionMockRecorder) InviteAccept ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InviteAccept(inviteID any, options ...any) *gomock.Call
InviteAccept indicates an expected call of InviteAccept.
func (*MockSessionMockRecorder) InviteComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InviteComplex(inviteID, guildScheduledEventID, withCounts, withExpiration any, options ...any) *gomock.Call
InviteComplex indicates an expected call of InviteComplex.
func (*MockSessionMockRecorder) InviteDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InviteDelete(inviteID any, options ...any) *gomock.Call
InviteDelete indicates an expected call of InviteDelete.
func (*MockSessionMockRecorder) InviteWithCounts ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) InviteWithCounts(inviteID any, options ...any) *gomock.Call
InviteWithCounts indicates an expected call of InviteWithCounts.
func (*MockSessionMockRecorder) MessageReactionAdd ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageReactionAdd(channelID, messageID, emojiID any, options ...any) *gomock.Call
MessageReactionAdd indicates an expected call of MessageReactionAdd.
func (*MockSessionMockRecorder) MessageReactionRemove ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageReactionRemove(channelID, messageID, emojiID, userID any, options ...any) *gomock.Call
MessageReactionRemove indicates an expected call of MessageReactionRemove.
func (*MockSessionMockRecorder) MessageReactions ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageReactions(channelID, messageID, emojiID, limit, beforeID, afterID any, options ...any) *gomock.Call
MessageReactions indicates an expected call of MessageReactions.
func (*MockSessionMockRecorder) MessageReactionsRemoveAll ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageReactionsRemoveAll(channelID, messageID any, options ...any) *gomock.Call
MessageReactionsRemoveAll indicates an expected call of MessageReactionsRemoveAll.
func (*MockSessionMockRecorder) MessageReactionsRemoveEmoji ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageReactionsRemoveEmoji(channelID, messageID, emojiID any, options ...any) *gomock.Call
MessageReactionsRemoveEmoji indicates an expected call of MessageReactionsRemoveEmoji.
func (*MockSessionMockRecorder) MessageThreadStart ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageThreadStart(channelID, messageID, name, archiveDuration any, options ...any) *gomock.Call
MessageThreadStart indicates an expected call of MessageThreadStart.
func (*MockSessionMockRecorder) MessageThreadStartComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) MessageThreadStartComplex(channelID, messageID, data any, options ...any) *gomock.Call
MessageThreadStartComplex indicates an expected call of MessageThreadStartComplex.
func (*MockSessionMockRecorder) Open ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open.
func (*MockSessionMockRecorder) Request ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Request(method, urlStr, data any, options ...any) *gomock.Call
Request indicates an expected call of Request.
func (*MockSessionMockRecorder) RequestGuildMembers ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestGuildMembers(guildID, query, limit, nonce, presences any) *gomock.Call
RequestGuildMembers indicates an expected call of RequestGuildMembers.
func (*MockSessionMockRecorder) RequestGuildMembersBatch ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestGuildMembersBatch(guildIDs, query, limit, nonce, presences any) *gomock.Call
RequestGuildMembersBatch indicates an expected call of RequestGuildMembersBatch.
func (*MockSessionMockRecorder) RequestGuildMembersBatchList ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestGuildMembersBatchList(guildIDs, userIDs, limit, nonce, presences any) *gomock.Call
RequestGuildMembersBatchList indicates an expected call of RequestGuildMembersBatchList.
func (*MockSessionMockRecorder) RequestGuildMembersList ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestGuildMembersList(guildID, userIDs, limit, nonce, presences any) *gomock.Call
RequestGuildMembersList indicates an expected call of RequestGuildMembersList.
func (*MockSessionMockRecorder) RequestWithBucketID ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestWithBucketID(method, urlStr, data, bucketID any, options ...any) *gomock.Call
RequestWithBucketID indicates an expected call of RequestWithBucketID.
func (*MockSessionMockRecorder) RequestWithLockedBucket ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) RequestWithLockedBucket(method, urlStr, contentType, b, bucket, sequence any, options ...any) *gomock.Call
RequestWithLockedBucket indicates an expected call of RequestWithLockedBucket.
func (*MockSessionMockRecorder) StageInstance ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) StageInstance(channelID any, options ...any) *gomock.Call
StageInstance indicates an expected call of StageInstance.
func (*MockSessionMockRecorder) StageInstanceCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) StageInstanceCreate(data any, options ...any) *gomock.Call
StageInstanceCreate indicates an expected call of StageInstanceCreate.
func (*MockSessionMockRecorder) StageInstanceDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) StageInstanceDelete(channelID any, options ...any) *gomock.Call
StageInstanceDelete indicates an expected call of StageInstanceDelete.
func (*MockSessionMockRecorder) StageInstanceEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) StageInstanceEdit(channelID, data any, options ...any) *gomock.Call
StageInstanceEdit indicates an expected call of StageInstanceEdit.
func (*MockSessionMockRecorder) ThreadJoin ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadJoin(id any, options ...any) *gomock.Call
ThreadJoin indicates an expected call of ThreadJoin.
func (*MockSessionMockRecorder) ThreadLeave ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadLeave(id any, options ...any) *gomock.Call
ThreadLeave indicates an expected call of ThreadLeave.
func (*MockSessionMockRecorder) ThreadMember ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadMember(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
ThreadMember indicates an expected call of ThreadMember.
func (*MockSessionMockRecorder) ThreadMemberAdd ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadMemberAdd(threadID, memberID any, options ...any) *gomock.Call
ThreadMemberAdd indicates an expected call of ThreadMemberAdd.
func (*MockSessionMockRecorder) ThreadMemberRemove ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadMemberRemove(threadID, memberID any, options ...any) *gomock.Call
ThreadMemberRemove indicates an expected call of ThreadMemberRemove.
func (*MockSessionMockRecorder) ThreadMembers ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadMembers(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
ThreadMembers indicates an expected call of ThreadMembers.
func (*MockSessionMockRecorder) ThreadStart ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadStart(channelID, name, typ, archiveDuration any, options ...any) *gomock.Call
ThreadStart indicates an expected call of ThreadStart.
func (*MockSessionMockRecorder) ThreadStartComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadStartComplex(channelID, data any, options ...any) *gomock.Call
ThreadStartComplex indicates an expected call of ThreadStartComplex.
func (*MockSessionMockRecorder) ThreadsActive ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadsActive(channelID any, options ...any) *gomock.Call
ThreadsActive indicates an expected call of ThreadsActive.
func (*MockSessionMockRecorder) ThreadsArchived ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadsArchived(channelID, before, limit any, options ...any) *gomock.Call
ThreadsArchived indicates an expected call of ThreadsArchived.
func (*MockSessionMockRecorder) ThreadsPrivateArchived ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadsPrivateArchived(channelID, before, limit any, options ...any) *gomock.Call
ThreadsPrivateArchived indicates an expected call of ThreadsPrivateArchived.
func (*MockSessionMockRecorder) ThreadsPrivateJoinedArchived ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) ThreadsPrivateJoinedArchived(channelID, before, limit any, options ...any) *gomock.Call
ThreadsPrivateJoinedArchived indicates an expected call of ThreadsPrivateJoinedArchived.
func (*MockSessionMockRecorder) UpdateGameStatus ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UpdateGameStatus(idle, name any) *gomock.Call
UpdateGameStatus indicates an expected call of UpdateGameStatus.
func (*MockSessionMockRecorder) UpdateListeningStatus ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UpdateListeningStatus(name any) *gomock.Call
UpdateListeningStatus indicates an expected call of UpdateListeningStatus.
func (*MockSessionMockRecorder) UpdateStatusComplex ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UpdateStatusComplex(usd any) *gomock.Call
UpdateStatusComplex indicates an expected call of UpdateStatusComplex.
func (*MockSessionMockRecorder) UpdateStreamingStatus ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UpdateStreamingStatus(idle, name, url any) *gomock.Call
UpdateStreamingStatus indicates an expected call of UpdateStreamingStatus.
func (*MockSessionMockRecorder) UpdateWatchStatus ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UpdateWatchStatus(idle, name any) *gomock.Call
UpdateWatchStatus indicates an expected call of UpdateWatchStatus.
func (*MockSessionMockRecorder) User ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) User(userID any, options ...any) *gomock.Call
User indicates an expected call of User.
func (*MockSessionMockRecorder) UserApplicationRoleConnection ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserApplicationRoleConnection(appID any) *gomock.Call
UserApplicationRoleConnection indicates an expected call of UserApplicationRoleConnection.
func (*MockSessionMockRecorder) UserApplicationRoleConnectionUpdate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserApplicationRoleConnectionUpdate(appID, rconn any) *gomock.Call
UserApplicationRoleConnectionUpdate indicates an expected call of UserApplicationRoleConnectionUpdate.
func (*MockSessionMockRecorder) UserAvatar ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserAvatar(userID any, options ...any) *gomock.Call
UserAvatar indicates an expected call of UserAvatar.
func (*MockSessionMockRecorder) UserAvatarDecode ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserAvatarDecode(u any, options ...any) *gomock.Call
UserAvatarDecode indicates an expected call of UserAvatarDecode.
func (*MockSessionMockRecorder) UserChannelCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserChannelCreate(recipientID any, options ...any) *gomock.Call
UserChannelCreate indicates an expected call of UserChannelCreate.
func (*MockSessionMockRecorder) UserChannelPermissions ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserChannelPermissions(userID, channelID any, fetchOptions ...any) *gomock.Call
UserChannelPermissions indicates an expected call of UserChannelPermissions.
func (*MockSessionMockRecorder) UserConnections ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserConnections(options ...any) *gomock.Call
UserConnections indicates an expected call of UserConnections.
func (*MockSessionMockRecorder) UserGuildMember ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserGuildMember(guildID any, options ...any) *gomock.Call
UserGuildMember indicates an expected call of UserGuildMember.
func (*MockSessionMockRecorder) UserGuilds ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserGuilds(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
UserGuilds indicates an expected call of UserGuilds.
func (*MockSessionMockRecorder) UserUpdate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) UserUpdate(username, avatar any, options ...any) *gomock.Call
UserUpdate indicates an expected call of UserUpdate.
func (*MockSessionMockRecorder) VoiceRegions ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) VoiceRegions(options ...any) *gomock.Call
VoiceRegions indicates an expected call of VoiceRegions.
func (*MockSessionMockRecorder) Webhook ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) Webhook(webhookID any, options ...any) *gomock.Call
Webhook indicates an expected call of Webhook.
func (*MockSessionMockRecorder) WebhookCreate ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookCreate(channelID, name, avatar any, options ...any) *gomock.Call
WebhookCreate indicates an expected call of WebhookCreate.
func (*MockSessionMockRecorder) WebhookDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookDelete(webhookID any, options ...any) *gomock.Call
WebhookDelete indicates an expected call of WebhookDelete.
func (*MockSessionMockRecorder) WebhookDeleteWithToken ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookDeleteWithToken(webhookID, token any, options ...any) *gomock.Call
WebhookDeleteWithToken indicates an expected call of WebhookDeleteWithToken.
func (*MockSessionMockRecorder) WebhookEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookEdit(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
WebhookEdit indicates an expected call of WebhookEdit.
func (*MockSessionMockRecorder) WebhookEditWithToken ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookEditWithToken(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
WebhookEditWithToken indicates an expected call of WebhookEditWithToken.
func (*MockSessionMockRecorder) WebhookExecute ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookExecute(webhookID, token, wait, data any, options ...any) *gomock.Call
WebhookExecute indicates an expected call of WebhookExecute.
func (*MockSessionMockRecorder) WebhookMessage ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookMessage(webhookID, token, messageID any, options ...any) *gomock.Call
WebhookMessage indicates an expected call of WebhookMessage.
func (*MockSessionMockRecorder) WebhookMessageDelete ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookMessageDelete(webhookID, token, messageID any, options ...any) *gomock.Call
WebhookMessageDelete indicates an expected call of WebhookMessageDelete.
func (*MockSessionMockRecorder) WebhookMessageEdit ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookMessageEdit(webhookID, token, messageID, data any, options ...any) *gomock.Call
WebhookMessageEdit indicates an expected call of WebhookMessageEdit.
func (*MockSessionMockRecorder) WebhookThreadExecute ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookThreadExecute(webhookID, token, wait, threadID, data any, options ...any) *gomock.Call
WebhookThreadExecute indicates an expected call of WebhookThreadExecute.
func (*MockSessionMockRecorder) WebhookWithToken ¶ added in v1.2.0
func (mr *MockSessionMockRecorder) WebhookWithToken(webhookID, token any, options ...any) *gomock.Call
WebhookWithToken indicates an expected call of WebhookWithToken.
type Session ¶ added in v1.2.0
type Session interface { Request(method, urlStr string, data interface{}, options ...discordgo.RequestOption) (response []byte, err error) RequestWithBucketID(method, urlStr string, data interface{}, bucketID string, options ...discordgo.RequestOption) (response []byte, err error) RequestWithLockedBucket(method, urlStr, contentType string, b []byte, bucket *discordgo.Bucket, sequence int, options ...discordgo.RequestOption) (response []byte, err error) User(userID string, options ...discordgo.RequestOption) (st *discordgo.User, err error) UserAvatar(userID string, options ...discordgo.RequestOption) (img image.Image, err error) UserAvatarDecode(u *discordgo.User, options ...discordgo.RequestOption) (img image.Image, err error) UserUpdate(username, avatar string, options ...discordgo.RequestOption) (st *discordgo.User, err error) UserConnections(options ...discordgo.RequestOption) (conn []*discordgo.UserConnection, err error) UserChannelCreate(recipientID string, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) UserGuildMember(guildID string, options ...discordgo.RequestOption) (st *discordgo.Member, err error) UserGuilds(int, string, string, bool, ...discordgo.RequestOption) ([]*discordgo.UserGuild, error) UserChannelPermissions(userID, channelID string, fetchOptions ...discordgo.RequestOption) (apermissions int64, err error) Guild(guildID string, options ...discordgo.RequestOption) (st *discordgo.Guild, err error) GuildWithCounts(guildID string, options ...discordgo.RequestOption) (st *discordgo.Guild, err error) GuildPreview(guildID string, options ...discordgo.RequestOption) (st *discordgo.GuildPreview, err error) GuildCreate(name string, options ...discordgo.RequestOption) (st *discordgo.Guild, err error) GuildEdit(guildID string, g *discordgo.GuildParams, options ...discordgo.RequestOption) (st *discordgo.Guild, err error) GuildDelete(guildID string, options ...discordgo.RequestOption) (err error) GuildLeave(guildID string, options ...discordgo.RequestOption) (err error) GuildBans(guildID string, limit int, beforeID, afterID string, options ...discordgo.RequestOption) (st []*discordgo.GuildBan, err error) GuildBanCreate(guildID, userID string, days int, options ...discordgo.RequestOption) (err error) GuildBan(guildID, userID string, options ...discordgo.RequestOption) (st *discordgo.GuildBan, err error) GuildBanCreateWithReason(guildID, userID, reason string, days int, options ...discordgo.RequestOption) (err error) GuildBanDelete(guildID, userID string, options ...discordgo.RequestOption) (err error) GuildMembers(guildID string, after string, limit int, options ...discordgo.RequestOption) (st []*discordgo.Member, err error) GuildMembersSearch(guildID, query string, limit int, options ...discordgo.RequestOption) (st []*discordgo.Member, err error) GuildMember(guildID, userID string, options ...discordgo.RequestOption) (st *discordgo.Member, err error) GuildMemberAdd(guildID, userID string, data *discordgo.GuildMemberAddParams, options ...discordgo.RequestOption) (err error) GuildMemberDelete(guildID, userID string, options ...discordgo.RequestOption) (err error) GuildMemberDeleteWithReason(guildID, userID, reason string, options ...discordgo.RequestOption) (err error) GuildMemberEdit(guildID, userID string, data *discordgo.GuildMemberParams, options ...discordgo.RequestOption) (st *discordgo.Member, err error) GuildMemberEditComplex(guildID, userID string, data *discordgo.GuildMemberParams, options ...discordgo.RequestOption) (st *discordgo.Member, err error) GuildMemberMove(guildID string, userID string, channelID *string, options ...discordgo.RequestOption) (err error) GuildMemberNickname(guildID, userID, nickname string, options ...discordgo.RequestOption) (err error) GuildMemberMute(guildID string, userID string, mute bool, options ...discordgo.RequestOption) (err error) GuildMemberTimeout(guildID string, userID string, until *time.Time, options ...discordgo.RequestOption) (err error) GuildMemberDeafen(guildID string, userID string, deaf bool, options ...discordgo.RequestOption) (err error) GuildMemberRoleAdd(guildID, userID, roleID string, options ...discordgo.RequestOption) (err error) GuildMemberRoleRemove(guildID, userID, roleID string, options ...discordgo.RequestOption) (err error) GuildChannels(guildID string, options ...discordgo.RequestOption) (st []*discordgo.Channel, err error) GuildChannelCreateComplex(guildID string, data discordgo.GuildChannelCreateData, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) GuildChannelCreate(guildID, name string, ctype discordgo.ChannelType, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) GuildChannelsReorder(guildID string, channels []*discordgo.Channel, options ...discordgo.RequestOption) (err error) GuildInvites(guildID string, options ...discordgo.RequestOption) (st []*discordgo.Invite, err error) GuildRoles(guildID string, options ...discordgo.RequestOption) (st []*discordgo.Role, err error) GuildRoleCreate(guildID string, data *discordgo.RoleParams, options ...discordgo.RequestOption) (st *discordgo.Role, err error) GuildRoleEdit(guildID, roleID string, data *discordgo.RoleParams, options ...discordgo.RequestOption) (st *discordgo.Role, err error) GuildRoleReorder(guildID string, roles []*discordgo.Role, options ...discordgo.RequestOption) (st []*discordgo.Role, err error) GuildRoleDelete(guildID, roleID string, options ...discordgo.RequestOption) (err error) GuildPruneCount(guildID string, days uint32, options ...discordgo.RequestOption) (count uint32, err error) GuildPrune(guildID string, days uint32, options ...discordgo.RequestOption) (count uint32, err error) GuildIntegrations(guildID string, options ...discordgo.RequestOption) (st []*discordgo.Integration, err error) GuildIntegrationCreate(guildID, integrationType, integrationID string, options ...discordgo.RequestOption) (err error) GuildIntegrationEdit(guildID, integrationID string, expireBehavior, expireGracePeriod int, enableEmoticons bool, options ...discordgo.RequestOption) (err error) GuildIntegrationDelete(guildID, integrationID string, options ...discordgo.RequestOption) (err error) GuildIcon(guildID string, options ...discordgo.RequestOption) (img image.Image, err error) GuildSplash(guildID string, options ...discordgo.RequestOption) (img image.Image, err error) GuildEmbed(guildID string, options ...discordgo.RequestOption) (st *discordgo.GuildEmbed, err error) GuildEmbedEdit(guildID string, data *discordgo.GuildEmbed, options ...discordgo.RequestOption) (err error) GuildAuditLog(guildID, userID, beforeID string, actionType, limit int, options ...discordgo.RequestOption) (st *discordgo.GuildAuditLog, err error) GuildEmojis(guildID string, options ...discordgo.RequestOption) (emoji []*discordgo.Emoji, err error) GuildEmoji(guildID, emojiID string, options ...discordgo.RequestOption) (emoji *discordgo.Emoji, err error) GuildEmojiCreate(guildID string, data *discordgo.EmojiParams, options ...discordgo.RequestOption) (emoji *discordgo.Emoji, err error) GuildEmojiEdit(guildID, emojiID string, data *discordgo.EmojiParams, options ...discordgo.RequestOption) (emoji *discordgo.Emoji, err error) GuildEmojiDelete(guildID, emojiID string, options ...discordgo.RequestOption) (err error) GuildTemplate(templateCode string, options ...discordgo.RequestOption) (st *discordgo.GuildTemplate, err error) GuildCreateWithTemplate(templateCode, name, icon string, options ...discordgo.RequestOption) (st *discordgo.Guild, err error) GuildTemplates(guildID string, options ...discordgo.RequestOption) (st []*discordgo.GuildTemplate, err error) GuildTemplateCreate(guildID string, data *discordgo.GuildTemplateParams, options ...discordgo.RequestOption) (st *discordgo.GuildTemplate) GuildTemplateSync(guildID, templateCode string, options ...discordgo.RequestOption) (err error) GuildTemplateEdit(guildID, templateCode string, data *discordgo.GuildTemplateParams, options ...discordgo.RequestOption) (st *discordgo.GuildTemplate, err error) GuildTemplateDelete(guildID, templateCode string, options ...discordgo.RequestOption) (err error) Channel(channelID string, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) ChannelEdit(channelID string, data *discordgo.ChannelEdit, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) ChannelEditComplex(channelID string, data *discordgo.ChannelEdit, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) ChannelDelete(channelID string, options ...discordgo.RequestOption) (st *discordgo.Channel, err error) ChannelTyping(channelID string, options ...discordgo.RequestOption) (err error) ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string, options ...discordgo.RequestOption) (st []*discordgo.Message, err error) ChannelMessage(channelID, messageID string, options ...discordgo.RequestOption) (st *discordgo.Message, err error) ChannelMessageSend(channelID string, content string, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend, options ...discordgo.RequestOption) (st *discordgo.Message, err error) ChannelMessageSendTTS(channelID string, content string, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendEmbed(channelID string, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendEmbeds(channelID string, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendReply(channelID string, content string, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendEmbedReply(channelID string, embed *discordgo.MessageEmbed, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageSendEmbedsReply(channelID string, embeds []*discordgo.MessageEmbed, reference *discordgo.MessageReference, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageEdit(channelID, messageID, content string, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageEditComplex(m *discordgo.MessageEdit, options ...discordgo.RequestOption) (st *discordgo.Message, err error) ChannelMessageEditEmbed(channelID, messageID string, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageEditEmbeds(channelID, messageID string, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelMessageDelete(channelID, messageID string, options ...discordgo.RequestOption) (err error) ChannelMessagesBulkDelete(channelID string, messages []string, options ...discordgo.RequestOption) (err error) ChannelMessagePin(channelID, messageID string, options ...discordgo.RequestOption) (err error) ChannelMessageUnpin(channelID, messageID string, options ...discordgo.RequestOption) (err error) ChannelMessagesPinned(channelID string, options ...discordgo.RequestOption) (st []*discordgo.Message, err error) ChannelFileSend(channelID, name string, r io.Reader, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelFileSendWithMessage(channelID, content string, name string, r io.Reader, options ...discordgo.RequestOption) (*discordgo.Message, error) ChannelInvites(channelID string, options ...discordgo.RequestOption) (st []*discordgo.Invite, err error) ChannelInviteCreate(channelID string, i discordgo.Invite, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) ChannelPermissionSet(channelID, targetID string, targetType discordgo.PermissionOverwriteType, allow, deny int64, options ...discordgo.RequestOption) (err error) ChannelPermissionDelete(channelID, targetID string, options ...discordgo.RequestOption) (err error) ChannelMessageCrosspost(channelID, messageID string, options ...discordgo.RequestOption) (st *discordgo.Message, err error) ChannelNewsFollow(channelID, targetID string, options ...discordgo.RequestOption) (st *discordgo.ChannelFollow, err error) Invite(inviteID string, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) InviteWithCounts(inviteID string, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) InviteComplex(inviteID, guildScheduledEventID string, withCounts, withExpiration bool, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) InviteDelete(inviteID string, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) InviteAccept(inviteID string, options ...discordgo.RequestOption) (st *discordgo.Invite, err error) VoiceRegions(options ...discordgo.RequestOption) (st []*discordgo.VoiceRegion, err error) Gateway(options ...discordgo.RequestOption) (gateway string, err error) GatewayBot(options ...discordgo.RequestOption) (st *discordgo.GatewayBotResponse, err error) WebhookCreate(channelID, name, avatar string, options ...discordgo.RequestOption) (st *discordgo.Webhook, err error) ChannelWebhooks(channelID string, options ...discordgo.RequestOption) (st []*discordgo.Webhook, err error) GuildWebhooks(guildID string, options ...discordgo.RequestOption) (st []*discordgo.Webhook, err error) Webhook(webhookID string, options ...discordgo.RequestOption) (st *discordgo.Webhook, err error) WebhookWithToken(webhookID, token string, options ...discordgo.RequestOption) (st *discordgo.Webhook, err error) WebhookEdit(string, string, string, string, ...discordgo.RequestOption) (*discordgo.Webhook, error) WebhookEditWithToken(string, string, string, string, ...discordgo.RequestOption) (*discordgo.Webhook, error) WebhookDelete(webhookID string, options ...discordgo.RequestOption) (err error) WebhookDeleteWithToken(webhookID, token string, options ...discordgo.RequestOption) (st *discordgo.Webhook, err error) WebhookExecute(webhookID, token string, wait bool, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (st *discordgo.Message, err error) WebhookThreadExecute(webhookID, token string, wait bool, threadID string, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (st *discordgo.Message, err error) WebhookMessage(webhookID, token, messageID string, options ...discordgo.RequestOption) (message *discordgo.Message, err error) WebhookMessageEdit(webhookID, token, messageID string, data *discordgo.WebhookEdit, options ...discordgo.RequestOption) (st *discordgo.Message, err error) WebhookMessageDelete(webhookID, token, messageID string, options ...discordgo.RequestOption) (err error) MessageReactionAdd(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error MessageReactionRemove(channelID, messageID, emojiID, userID string, options ...discordgo.RequestOption) error MessageReactionsRemoveAll(channelID, messageID string, options ...discordgo.RequestOption) error MessageReactionsRemoveEmoji(channelID, messageID, emojiID string, options ...discordgo.RequestOption) error MessageReactions(channelID, messageID, emojiID string, limit int, beforeID, afterID string, options ...discordgo.RequestOption) (st []*discordgo.User, err error) MessageThreadStartComplex(channelID, messageID string, data *discordgo.ThreadStart, options ...discordgo.RequestOption) (ch *discordgo.Channel, err error) MessageThreadStart(channelID, messageID string, name string, archiveDuration int, options ...discordgo.RequestOption) (ch *discordgo.Channel, err error) ThreadStartComplex(channelID string, data *discordgo.ThreadStart, options ...discordgo.RequestOption) (ch *discordgo.Channel, err error) ThreadStart(channelID, name string, typ discordgo.ChannelType, archiveDuration int, options ...discordgo.RequestOption) (ch *discordgo.Channel, err error) ForumThreadStartComplex(channelID string, threadData *discordgo.ThreadStart, messageData *discordgo.MessageSend, options ...discordgo.RequestOption) (th *discordgo.Channel, err error) ForumThreadStart(channelID, name string, archiveDuration int, content string, options ...discordgo.RequestOption) (th *discordgo.Channel, err error) ForumThreadStartEmbed(channelID, name string, archiveDuration int, embed *discordgo.MessageEmbed, options ...discordgo.RequestOption) (th *discordgo.Channel, err error) ForumThreadStartEmbeds(channelID, name string, archiveDuration int, embeds []*discordgo.MessageEmbed, options ...discordgo.RequestOption) (th *discordgo.Channel, err error) ThreadJoin(id string, options ...discordgo.RequestOption) error ThreadLeave(id string, options ...discordgo.RequestOption) error ThreadMemberAdd(threadID, memberID string, options ...discordgo.RequestOption) error ThreadMemberRemove(threadID, memberID string, options ...discordgo.RequestOption) error ThreadMember(string, string, bool, ...discordgo.RequestOption) (*discordgo.ThreadMember, error) ThreadMembers(string, int, bool, string, ...discordgo.RequestOption) ([]*discordgo.ThreadMember, error) ThreadsActive(channelID string, options ...discordgo.RequestOption) (threads *discordgo.ThreadsList, err error) GuildThreadsActive(guildID string, options ...discordgo.RequestOption) (threads *discordgo.ThreadsList, err error) ThreadsArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (threads *discordgo.ThreadsList, err error) ThreadsPrivateArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (threads *discordgo.ThreadsList, err error) ThreadsPrivateJoinedArchived(channelID string, before *time.Time, limit int, options ...discordgo.RequestOption) (threads *discordgo.ThreadsList, err error) ApplicationCommandCreate(appID string, guildID string, cmd *discordgo.ApplicationCommand, options ...discordgo.RequestOption) (ccmd *discordgo.ApplicationCommand, err error) ApplicationCommandEdit(appID, guildID, cmdID string, cmd *discordgo.ApplicationCommand, options ...discordgo.RequestOption) (updated *discordgo.ApplicationCommand, err error) ApplicationCommandBulkOverwrite(appID string, guildID string, commands []*discordgo.ApplicationCommand, options ...discordgo.RequestOption) (createdCommands []*discordgo.ApplicationCommand, err error) ApplicationCommandDelete(appID, guildID, cmdID string, options ...discordgo.RequestOption) error ApplicationCommand(appID, guildID, cmdID string, options ...discordgo.RequestOption) (cmd *discordgo.ApplicationCommand, err error) ApplicationCommands(appID, guildID string, options ...discordgo.RequestOption) (cmd []*discordgo.ApplicationCommand, err error) GuildApplicationCommandsPermissions(appID, guildID string, options ...discordgo.RequestOption) (permissions []*discordgo.GuildApplicationCommandPermissions, err error) ApplicationCommandPermissions(appID, guildID, cmdID string, options ...discordgo.RequestOption) (permissions *discordgo.GuildApplicationCommandPermissions, err error) ApplicationCommandPermissionsEdit(appID, guildID, cmdID string, permissions *discordgo.ApplicationCommandPermissionsList, options ...discordgo.RequestOption) (err error) ApplicationCommandPermissionsBatchEdit(appID, guildID string, permissions []*discordgo.GuildApplicationCommandPermissions, options ...discordgo.RequestOption) (err error) InteractionRespond(interaction *discordgo.Interaction, resp *discordgo.InteractionResponse, options ...discordgo.RequestOption) error InteractionResponse(interaction *discordgo.Interaction, options ...discordgo.RequestOption) (*discordgo.Message, error) InteractionResponseEdit(interaction *discordgo.Interaction, newresp *discordgo.WebhookEdit, options ...discordgo.RequestOption) (*discordgo.Message, error) InteractionResponseDelete(interaction *discordgo.Interaction, options ...discordgo.RequestOption) error FollowupMessageCreate(interaction *discordgo.Interaction, wait bool, data *discordgo.WebhookParams, options ...discordgo.RequestOption) (*discordgo.Message, error) FollowupMessageEdit(interaction *discordgo.Interaction, messageID string, data *discordgo.WebhookEdit, options ...discordgo.RequestOption) (*discordgo.Message, error) FollowupMessageDelete(interaction *discordgo.Interaction, messageID string, options ...discordgo.RequestOption) error StageInstanceCreate(data *discordgo.StageInstanceParams, options ...discordgo.RequestOption) (si *discordgo.StageInstance, err error) StageInstance(channelID string, options ...discordgo.RequestOption) (si *discordgo.StageInstance, err error) StageInstanceEdit(channelID string, data *discordgo.StageInstanceParams, options ...discordgo.RequestOption) (si *discordgo.StageInstance, err error) StageInstanceDelete(channelID string, options ...discordgo.RequestOption) (err error) GuildScheduledEvents(guildID string, userCount bool, options ...discordgo.RequestOption) (st []*discordgo.GuildScheduledEvent, err error) GuildScheduledEvent(guildID, eventID string, userCount bool, options ...discordgo.RequestOption) (st *discordgo.GuildScheduledEvent, err error) GuildScheduledEventCreate(guildID string, event *discordgo.GuildScheduledEventParams, options ...discordgo.RequestOption) (st *discordgo.GuildScheduledEvent, err error) GuildScheduledEventEdit(guildID, eventID string, event *discordgo.GuildScheduledEventParams, options ...discordgo.RequestOption) (st *discordgo.GuildScheduledEvent, err error) GuildScheduledEventDelete(guildID, eventID string, options ...discordgo.RequestOption) (err error) GuildScheduledEventUsers(guildID, eventID string, limit int, withMember bool, beforeID, afterID string, options ...discordgo.RequestOption) (st []*discordgo.GuildScheduledEventUser, err error) AutoModerationRules(guildID string, options ...discordgo.RequestOption) (st []*discordgo.AutoModerationRule, err error) AutoModerationRule(guildID, ruleID string, options ...discordgo.RequestOption) (st *discordgo.AutoModerationRule, err error) AutoModerationRuleCreate(guildID string, rule *discordgo.AutoModerationRule, options ...discordgo.RequestOption) (st *discordgo.AutoModerationRule, err error) AutoModerationRuleEdit(guildID, ruleID string, rule *discordgo.AutoModerationRule, options ...discordgo.RequestOption) (st *discordgo.AutoModerationRule, err error) AutoModerationRuleDelete(guildID, ruleID string, options ...discordgo.RequestOption) (err error) ApplicationRoleConnectionMetadata(appID string) (st []*discordgo.ApplicationRoleConnectionMetadata, err error) ApplicationRoleConnectionMetadataUpdate(appID string, metadata []*discordgo.ApplicationRoleConnectionMetadata) (st []*discordgo.ApplicationRoleConnectionMetadata, err error) UserApplicationRoleConnection(appID string) (st *discordgo.ApplicationRoleConnection, err error) UserApplicationRoleConnectionUpdate(appID string, rconn *discordgo.ApplicationRoleConnection) (st *discordgo.ApplicationRoleConnection, err error) AddHandler(handler interface{}) func() AddHandlerOnce(handler interface{}) func() Open() error HeartbeatLatency() time.Duration UpdateGameStatus(idle int, name string) (err error) UpdateWatchStatus(idle int, name string) (err error) UpdateStreamingStatus(idle int, name string, url string) (err error) UpdateListeningStatus(name string) (err error) UpdateStatusComplex(usd discordgo.UpdateStatusData) (err error) RequestGuildMembers(guildID, query string, limit int, nonce string, presences bool) error RequestGuildMembersList(guildID string, userIDs []string, limit int, nonce string, presences bool) error RequestGuildMembersBatch(guildIDs []string, query string, limit int, nonce string, presences bool) (err error) RequestGuildMembersBatchList(guildIDs []string, userIDs []string, limit int, nonce string, presences bool) (err error) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (voice *discordgo.VoiceConnection, err error) ChannelVoiceJoinManual(gID, cID string, mute, deaf bool) (err error) Close() error CloseWithCode(closeCode int) (err error) }