Documentation ¶
Overview ¶
Package mock_bot is a generated GoMock package.
Index ¶
- type MockMessager
- func (m *MockMessager) AddReactListener(arg0 func(interface{}) interface{}, arg1 disgord.HandlerCtrl, ...)
- func (m *MockMessager) Delete(arg0 context.Context, arg1 *disgord.Message) error
- func (m *MockMessager) EXPECT() *MockMessagerMockRecorder
- func (m *MockMessager) Edit(arg0 context.Context, arg1 *disgord.Message, arg2 string, arg3 *disgord.Embed) (*disgord.Message, error)
- func (m *MockMessager) React(arg0 context.Context, arg1 *disgord.Message, arg2 string) error
- func (m *MockMessager) Send(arg0 context.Context, arg1 snowflake.Snowflake, ...) (*disgord.Message, error)
- func (m *MockMessager) Unreact(arg0 context.Context, arg1 *disgord.Message, arg2 string) error
- func (m *MockMessager) UnreactUser(arg0 context.Context, arg1 *disgord.Message, arg2 string, ...) error
- type MockMessagerMockRecorder
- func (mr *MockMessagerMockRecorder) AddReactListener(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) Edit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) React(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) Unreact(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMessagerMockRecorder) UnreactUser(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessager ¶
type MockMessager struct {
// contains filtered or unexported fields
}
MockMessager is a mock of Messager interface.
func NewMockMessager ¶
func NewMockMessager(ctrl *gomock.Controller) *MockMessager
NewMockMessager creates a new mock instance.
func (*MockMessager) AddReactListener ¶
func (m *MockMessager) AddReactListener(arg0 func(interface{}) interface{}, arg1 disgord.HandlerCtrl, arg2 func(disgord.Session, *disgord.MessageReactionAdd))
AddReactListener mocks base method.
func (*MockMessager) EXPECT ¶
func (m *MockMessager) EXPECT() *MockMessagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessager) Edit ¶
func (m *MockMessager) Edit(arg0 context.Context, arg1 *disgord.Message, arg2 string, arg3 *disgord.Embed) (*disgord.Message, error)
Edit mocks base method.
func (*MockMessager) Send ¶
func (m *MockMessager) Send(arg0 context.Context, arg1 snowflake.Snowflake, arg2 *disgord.CreateMessageParams) (*disgord.Message, error)
Send mocks base method.
type MockMessagerMockRecorder ¶
type MockMessagerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessagerMockRecorder is the mock recorder for MockMessager.
func (*MockMessagerMockRecorder) AddReactListener ¶
func (mr *MockMessagerMockRecorder) AddReactListener(arg0, arg1, arg2 interface{}) *gomock.Call
AddReactListener indicates an expected call of AddReactListener.
func (*MockMessagerMockRecorder) Delete ¶
func (mr *MockMessagerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMessagerMockRecorder) Edit ¶
func (mr *MockMessagerMockRecorder) Edit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Edit indicates an expected call of Edit.
func (*MockMessagerMockRecorder) React ¶
func (mr *MockMessagerMockRecorder) React(arg0, arg1, arg2 interface{}) *gomock.Call
React indicates an expected call of React.
func (*MockMessagerMockRecorder) Send ¶
func (mr *MockMessagerMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockMessagerMockRecorder) Unreact ¶
func (mr *MockMessagerMockRecorder) Unreact(arg0, arg1, arg2 interface{}) *gomock.Call
Unreact indicates an expected call of Unreact.
func (*MockMessagerMockRecorder) UnreactUser ¶
func (mr *MockMessagerMockRecorder) UnreactUser(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UnreactUser indicates an expected call of UnreactUser.