From d5bc4d8f45880fcc38cb80f8a0c542de5634a0ac Mon Sep 17 00:00:00 2001 From: cws Date: Mon, 24 Jul 2017 07:37:10 -0400 Subject: [PATCH] bot: add missing mock func to fix tests skiesel forgot. --- bot/mock.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/mock.go b/bot/mock.go index 193c5ee..89a1bfc 100644 --- a/bot/mock.go +++ b/bot/mock.go @@ -38,6 +38,7 @@ func (mb *MockBot) EventReceived(msg msg.Message) {} func (mb *MockBot) Filter(msg msg.Message, s string) string { return "" } func (mb *MockBot) LastMessage(ch string) (msg.Message, error) { return msg.Message{}, nil } func (mb *MockBot) CheckAdmin(nick string) bool { return false } +func (mb *MockBot) React(string, string, msg.Message) {} func NewMockBot() *MockBot { db, err := sqlx.Open("sqlite3_custom", ":memory:")