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 DgSession

type DgSession struct {
	mock.Mock
}

DgSession is an autogenerated mock type for the DgSession type

func (*DgSession) GuildMember

func (_m *DgSession) GuildMember(guildID string, userID string) (*discordgo.Member, error)

GuildMember provides a mock function with given fields: guildID, userID

func (*DgSession) GuildMemberRoleAdd

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

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

func (*DgSession) GuildMemberRoleRemove

func (_m *DgSession) GuildMemberRoleRemove(guildID string, userID string, roleID string) error

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

func (*DgSession) GuildMembers

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

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

func (*DgSession) GuildRoles

func (_m *DgSession) GuildRoles(guildID string) ([]*discordgo.Role, error)

GuildRoles provides a mock function with given fields: guildID

Jump to

Keyboard shortcuts

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