mocks

package
v0.0.0-...-710481b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AkSession

type AkSession struct {
	mock.Mock
}

AkSession is an autogenerated mock type for the AkSession type

func (*AkSession) Channel

func (_m *AkSession) Channel(channelID string) (*discordgo.Channel, error)

Channel provides a mock function with given fields: channelID

func (*AkSession) ChannelMessages

func (_m *AkSession) ChannelMessages(channelID string, limit int, beforeID string, afterID string, aroundID string) ([]*discordgo.Message, error)

ChannelMessages provides a mock function with given fields: channelID, limit, beforeID, afterID, aroundID

func (*AkSession) ChannelMessagesBulkDelete

func (_m *AkSession) ChannelMessagesBulkDelete(channelID string, messages []string) error

ChannelMessagesBulkDelete provides a mock function with given fields: channelID, messages

func (*AkSession) GuildMemberRoleAdd

func (_m *AkSession) GuildMemberRoleAdd(guildID string, userID string, roleID string) error

GuildMemberRoleAdd provides a mock function with given fields: guildID, userID, roleID

func (*AkSession) GuildMembers

func (_m *AkSession) GuildMembers(guildID string, after string, limit int) ([]*discordgo.Member, error)

GuildMembers provides a mock function with given fields: guildID, after, limit

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL